Skip to content

Commit d75713c

Browse files
committed
ReduxWidtch check for 0 - formatting fixed
modified: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
1 parent 071217c commit d75713c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20080,7 +20080,7 @@ class HorizontalReduction {
2008020080
NumRegs =
2008120081
TTI.getNumberOfRegisters(TTI.getRegisterClassForType(true, Tp));
2008220082
while (NumParts > NumRegs) {
20083-
assert(ReduxWidth > 0 && "ReduxWidth is unexpectedly 0.");
20083+
assert(ReduxWidth > 0 && "ReduxWidth is unexpectedly 0.");
2008420084
ReduxWidth = bit_floor(ReduxWidth - 1);
2008520085
VectorType *Tp = getWidenedType(ScalarTy, ReduxWidth);
2008620086
NumParts = TTI.getNumberOfParts(Tp);

0 commit comments

Comments
 (0)