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 73941b5 commit b40341aCopy full SHA for b40341a
llvm/lib/Transforms/Scalar/LICM.cpp
@@ -1540,7 +1540,7 @@ static bool sinkUnusedInvariantsFromPreheaderToExit(
1540
SafetyInfo->insertInstructionTo(&I, ExitBlock);
1541
I.moveBefore(*ExitBlock, ExitBlock->getFirstInsertionPt());
1542
if (SE)
1543
- SE->forgetBlockAndLoopDispositions(&I);
+ SE->forgetValue(&I);
1544
1545
// Update MemorySSA.
1546
if (auto *OldMA = MSSAU.getMemorySSA()->getMemoryAccess(&I)) {
0 commit comments