From: Devang Patel Date: Thu, 26 Mar 2009 23:48:52 +0000 (+0000) Subject: While hoisting an instruction, update alias info set tracker. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=fafd98b23e9ae9058196f6375c2e79a5845a8cc2;p=oota-llvm.git 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 --- diff --git a/lib/Transforms/Scalar/LICM.cpp b/lib/Transforms/Scalar/LICM.cpp index 102146945a0..62896157d5b 100644 --- a/lib/Transforms/Scalar/LICM.cpp +++ b/lib/Transforms/Scalar/LICM.cpp @@ -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.