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 | fe7c0492a066a2bb5e91ef1a6b2ed413678abbcd (patch) | |
| tree | 9ff8f58a797d6ff4d24b35dc18013a6791a97be7 /llvm/lib/Transforms | |
| parent | e6224e791323759e1ea21bac6e9bad368ad2476d (diff) | |
| download | bcm5719-llvm-fe7c0492a066a2bb5e91ef1a6b2ed413678abbcd.tar.gz bcm5719-llvm-fe7c0492a066a2bb5e91ef1a6b2ed413678abbcd.zip | |
While hoisting an instruction, update alias info set tracker.
llvm-svn: 67798
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/LICM.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Scalar/LICM.cpp b/llvm/lib/Transforms/Scalar/LICM.cpp index 102146945a0..62896157d5b 100644 --- a/llvm/lib/Transforms/Scalar/LICM.cpp +++ b/llvm/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. |

