mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
While hoisting an instruction, update alias info set tracker.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67798 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e568f64131
commit
fafd98b23e
@ -605,6 +605,7 @@ void LICM::hoist(Instruction &I) {
|
||||
|
||||
// Remove the instruction from its current basic block... but don't delete the
|
||||
// instruction.
|
||||
CurAST->deleteValue(&I);
|
||||
I.removeFromParent();
|
||||
|
||||
// Insert the new node in Preheader, before the terminator.
|
||||
|
Loading…
x
Reference in New Issue
Block a user