Skip to content

Commit 471b3e7

Browse files
committed
AMDGPU: Custom lower fptrunc vectors for f32 -> f16
clang format fix
1 parent 40beab1 commit 471b3e7

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
@@ -6914,8 +6914,8 @@ SDValue SITargetLowering::splitFP_ROUNDVectorOp(SDValue Op,
69146914
SDLoc DL(Op);
69156915
unsigned Opc = Op.getOpcode();
69166916
SDValue Flags = Op.getOperand(1);
6917-
EVT HalfDstVT
6918-
= EVT::getVectorVT(*DAG.getContext(), DstVT.getScalarType(), NumElts / 2);
6917+
EVT HalfDstVT =
6918+
EVT::getVectorVT(*DAG.getContext(), DstVT.getScalarType(), NumElts / 2);
69196919
SDValue OpLo = DAG.getNode(Opc, DL, HalfDstVT, Lo, Flags);
69206920
SDValue OpHi = DAG.getNode(Opc, DL, HalfDstVT, Hi, Flags);
69216921

0 commit comments

Comments
 (0)