Skip to content

Commit 56edadf

Browse files
changpengarsenm
andauthored
Update llvm/lib/Target/AMDGPU/SIISelLowering.cpp
Co-authored-by: Matt Arsenault <[email protected]>
1 parent 4bd1058 commit 56edadf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/AMDGPU/SIISelLowering.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6904,9 +6904,9 @@ SDValue SITargetLowering::lowerFP_ROUND(SDValue Op, SelectionDAG &DAG) const {
69046904
return DAG.getNode(ISD::BITCAST, DL, MVT::f16, Trunc);
69056905
}
69066906

6907-
assert (DstVT.getScalarType() == MVT::bf16 &&
6907+
assert(DstVT.getScalarType() == MVT::bf16 &&
69086908
"custom lower FP_ROUND for f16 or bf16");
6909-
assert (Subtarget->hasBF16ConversionInsts() && "f32 -> bf16 is legal");
6909+
assert(Subtarget->hasBF16ConversionInsts() && "f32 -> bf16 is legal");
69106910

69116911
// Round-inexact-to-odd f64 to f32, then do the final rounding using the
69126912
// hardware f32 -> bf16 instruction.

0 commit comments

Comments
 (0)