Skip to content

Commit b40341a

Browse files
committed
fix values
1 parent 73941b5 commit b40341a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Scalar/LICM.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1540,7 +1540,7 @@ static bool sinkUnusedInvariantsFromPreheaderToExit(
15401540
SafetyInfo->insertInstructionTo(&I, ExitBlock);
15411541
I.moveBefore(*ExitBlock, ExitBlock->getFirstInsertionPt());
15421542
if (SE)
1543-
SE->forgetBlockAndLoopDispositions(&I);
1543+
SE->forgetValue(&I);
15441544

15451545
// Update MemorySSA.
15461546
if (auto *OldMA = MSSAU.getMemorySSA()->getMemoryAccess(&I)) {

0 commit comments

Comments
 (0)