Skip to content

Commit 9ac0315

Browse files
committed
Add comment to assert from a843f26
1 parent 5ca325e commit 9ac0315

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
@@ -16671,7 +16671,7 @@ bool SLPVectorizerPass::vectorizeChainsInBlock(BasicBlock *BB, BoUpSLP &R) {
1667116671
return false;
1667216672
}
1667316673
// Undefs come last.
16674-
assert(U1 && U2);
16674+
assert(U1 && U2 && "The only thing left should be undef & undef.");
1667516675
continue;
1667616676
}
1667716677
return false;

0 commit comments

Comments
 (0)