Skip to content

Commit 708daae

Browse files
committed
Fix formatting
Created using spr 1.3.5
1 parent 2f17bfb commit 708daae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19238,8 +19238,7 @@ class HorizontalReduction {
1923819238
case RecurKind::Or:
1923919239
if (UseSelect && OpTy == CmpInst::makeCmpResultType(OpTy))
1924019240
return Builder.CreateSelect(
19241-
LHS,
19242-
ConstantInt::getAllOnesValue(CmpInst::makeCmpResultType(OpTy)),
19241+
LHS, ConstantInt::getAllOnesValue(CmpInst::makeCmpResultType(OpTy)),
1924319242
RHS, Name);
1924419243
return Builder.CreateBinOp((Instruction::BinaryOps)RdxOpcode, LHS, RHS,
1924519244
Name);
@@ -20150,7 +20149,8 @@ class HorizontalReduction {
2015020149
Lane->getType()->getScalarType() !=
2015120150
VL.front()->getType()->getScalarType()
2015220151
? V.isSignedMinBitwidthRootNode()
20153-
: true, RdxRootInst->getType());
20152+
: true,
20153+
RdxRootInst->getType());
2015420154
ReducedSubTree =
2015520155
Builder.CreateInsertElement(ReducedSubTree, Val, I);
2015620156
}

0 commit comments

Comments
 (0)