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:
4330b3a
)
Add note.
author
Devang Patel
<dpatel@apple.com>
Tue, 31 Jul 2007 16:52:25 +0000
(16:52 +0000)
committer
Devang Patel
<dpatel@apple.com>
Tue, 31 Jul 2007 16:52:25 +0000
(16:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40638
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 669afa33ac9463f33672ebb04c8f4fa7727b86ec..ede3bd9dde630acb39c3ca052605664eac27bfc1 100644
(file)
--- a/
lib/Transforms/Scalar/LICM.cpp
+++ b/
lib/Transforms/Scalar/LICM.cpp
@@
-218,7
+218,9
@@
namespace {
LoopPass *llvm::createLICMPass() { return new LICM(); }
-/// Hoist expressions out of the specified loop...
+/// Hoist expressions out of the specified loop. Note, alias info for inner
+/// loop is not preserved so it is not a good idea to run LICM multiple
+/// times on one loop.
///
bool LICM::runOnLoop(Loop *L, LPPassManager &LPM) {
Changed = false;