Skip to content

Commit 18402a7

Browse files
committed
Clang format
1 parent 3d63ef1 commit 18402a7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4213,17 +4213,17 @@ static SDValue lowerBUILD_VECTOR(SDValue Op, SelectionDAG &DAG,
42134213
// pressure at high LMUL.
42144214
if (all_of(Op->ops().drop_front(),
42154215
[](const SDUse &U) { return U.get().isUndef(); })) {
4216-
unsigned Opc = VT.isFloatingPoint() ? RISCVISD::VFMV_S_F_VL
4217-
: RISCVISD::VMV_S_X_VL;
4216+
unsigned Opc =
4217+
VT.isFloatingPoint() ? RISCVISD::VFMV_S_F_VL : RISCVISD::VMV_S_X_VL;
42184218
if (!VT.isFloatingPoint())
42194219
Splat = DAG.getNode(ISD::ANY_EXTEND, DL, XLenVT, Splat);
4220-
Splat =
4221-
DAG.getNode(Opc, DL, ContainerVT, DAG.getUNDEF(ContainerVT), Splat, VL);
4220+
Splat = DAG.getNode(Opc, DL, ContainerVT, DAG.getUNDEF(ContainerVT),
4221+
Splat, VL);
42224222
return convertFromScalableVector(VT, Splat, DAG, Subtarget);
42234223
}
42244224

4225-
unsigned Opc = VT.isFloatingPoint() ? RISCVISD::VFMV_V_F_VL
4226-
: RISCVISD::VMV_V_X_VL;
4225+
unsigned Opc =
4226+
VT.isFloatingPoint() ? RISCVISD::VFMV_V_F_VL : RISCVISD::VMV_V_X_VL;
42274227
if (!VT.isFloatingPoint())
42284228
Splat = DAG.getNode(ISD::ANY_EXTEND, DL, XLenVT, Splat);
42294229
Splat =

0 commit comments

Comments
 (0)