Skip to content

Commit 99c6c2a

Browse files
committed
clang-format
1 parent d1b44a1 commit 99c6c2a

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10756,7 +10756,6 @@ SDValue RISCVTargetLowering::lowerVECTOR_DEINTERLEAVE(SDValue Op,
1075610756
SDValue Concat = DAG.getNode(ISD::CONCAT_VECTORS, DL, ConcatVT,
1075710757
Op.getOperand(0), Op.getOperand(1));
1075810758

10759-
1076010759
// We can deinterleave through vnsrl.wi if the element type is smaller than
1076110760
// ELEN
1076210761
if (VecVT.getScalarSizeInBits() < Subtarget.getELen()) {
@@ -10775,12 +10774,12 @@ SDValue RISCVTargetLowering::lowerVECTOR_DEINTERLEAVE(SDValue Op,
1077510774
MVT IdxVT = ConcatVT.changeVectorElementTypeToInteger();
1077610775
SDValue StepVec = DAG.getStepVector(DL, IdxVT);
1077710776
// 0, 1, 0, 1, 0, 1
10778-
SDValue ZeroOnes = DAG.getNode(ISD::AND, DL, IdxVT, StepVec,
10779-
DAG.getConstant(1, DL, IdxVT));
10777+
SDValue ZeroOnes =
10778+
DAG.getNode(ISD::AND, DL, IdxVT, StepVec, DAG.getConstant(1, DL, IdxVT));
1078010779
MVT MaskVT = ConcatVT.changeVectorElementType(MVT::i1);
10781-
SDValue EvenMask = DAG.getSetCC(DL, MaskVT, ZeroOnes,
10782-
DAG.getConstant(0, DL, IdxVT),
10783-
ISD::CondCode::SETEQ);
10780+
SDValue EvenMask =
10781+
DAG.getSetCC(DL, MaskVT, ZeroOnes, DAG.getConstant(0, DL, IdxVT),
10782+
ISD::CondCode::SETEQ);
1078410783
// Have the later be the not of the former to minimize the live range of
1078510784
// the index vector since that might be large.
1078610785
SDValue OddMask = DAG.getLogicalNOT(DL, EvenMask, MaskVT);
@@ -10789,7 +10788,7 @@ SDValue RISCVTargetLowering::lowerVECTOR_DEINTERLEAVE(SDValue Op,
1078910788
SDValue EvenWide = DAG.getNode(ISD::VECTOR_COMPRESS, DL, ConcatVT, Concat,
1079010789
EvenMask, DAG.getUNDEF(ConcatVT));
1079110790
SDValue OddWide = DAG.getNode(ISD::VECTOR_COMPRESS, DL, ConcatVT, Concat,
10792-
OddMask, DAG.getUNDEF(ConcatVT));
10791+
OddMask, DAG.getUNDEF(ConcatVT));
1079310792

1079410793
// Extract the result half of the gather for even and odd
1079510794
SDValue Even = DAG.getNode(ISD::EXTRACT_SUBVECTOR, DL, VecVT, EvenWide,

0 commit comments

Comments
 (0)