projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e568f64
)
While hoisting an instruction, update alias info set tracker.
author
Devang Patel
<dpatel@apple.com>
Thu, 26 Mar 2009 23:48:52 +0000
(23:48 +0000)
committer
Devang Patel
<dpatel@apple.com>
Thu, 26 Mar 2009 23:48:52 +0000
(23:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67798
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/LICM.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LICM.cpp
b/lib/Transforms/Scalar/LICM.cpp
index 102146945a0bb7bc56dadaf700cf8b7d1feeab91..62896157d5bc10b85cb4230095f76219343bafe2 100644
(file)
--- 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.