diff options
author | Devang Patel <dpatel@apple.com> | 2009-03-26 23:48:52 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-03-26 23:48:52 +0000 |
commit | fafd98b23e9ae9058196f6375c2e79a5845a8cc2 (patch) | |
tree | 20ec92ed6aaee40b3794207dc9ca5e803fe090ec /lib | |
parent | e568f641311883c2a1240e8e50d2e1e2cf04e15f (diff) |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Transforms/Scalar/LICM.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/LICM.cpp b/lib/Transforms/Scalar/LICM.cpp index 102146945a..62896157d5 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. |