We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78259eb commit 4b931b5Copy full SHA for 4b931b5
llvm/lib/Transforms/Vectorize/VectorCombine.cpp
@@ -2034,7 +2034,8 @@ bool VectorCombine::scalarizeExtExtract(Instruction &I) {
2034
if (!LastExtract || LastExtract->comesBefore(Extract))
2035
LastExtract = Extract;
2036
}
2037
- // Check execution is guaranteed from extend to last extract.
+ // Check that the last extract (and hence all previous ones) are guaranteed
2038
+ // to execute if Ext executes.
2039
AllExtractsTriggerUB =
2040
AllExtractsTriggerUB &&
2041
all_of(make_range(Ext->getIterator(), LastExtract->getIterator()),
0 commit comments