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 ba9ba19 commit 52a6511Copy full SHA for 52a6511
llvm/lib/Transforms/Vectorize/VectorCombine.cpp
@@ -1581,7 +1581,7 @@ bool VectorCombine::scalarizeLoadExtract(Instruction &I) {
1581
1582
// If any extract is waiting to be erased, then bail out as this will
1583
// distort the cost calculation and possibly lead to infinite loops.
1584
- if (isInstructionTriviallyDead(UI))
+ if (UI->use_empty())
1585
return false;
1586
1587
// Check if any instruction between the load and the extract may modify
0 commit comments