While hoisting an instruction, update alias info set tracker.

llvm-svn: 67798
This commit is contained in:
Devang Patel 2009-03-26 23:48:52 +00:00
parent e6224e7913
commit fe7c0492a0
1 changed files with 1 additions and 0 deletions

View File

@ -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.