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 8bbcb5d commit e8f5ee2Copy full SHA for e8f5ee2
llvm/lib/Transforms/Scalar/LoopVersioningLICM.cpp
@@ -531,7 +531,7 @@ void LoopVersioningLICM::setNoAliasToLoop(Loop *VerLoop) {
531
// We can only add noalias to pointers that we've inserted checks for
532
Value *V = getLoadStorePointerOperand(&Inst);
533
if (!V || !any_of(Pointers, [&](auto &P) { return P.PointerValue == V; }))
534
- continue;
+ continue;
535
// Set no-alias for current instruction.
536
Inst.setMetadata(
537
LLVMContext::MD_noalias,
0 commit comments