forked from OSchip/llvm-project
While hoisting an instruction, update alias info set tracker.
llvm-svn: 67798
This commit is contained in:
parent
e6224e7913
commit
fe7c0492a0
|
@ -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…
Reference in New Issue