diff options
author | Devang Patel <dpatel@apple.com> | 2007-07-31 16:52:25 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-07-31 16:52:25 +0000 |
commit | 8d246f09cb46fe38aa71d2a4edcd84f30c4bf80e (patch) | |
tree | bd035d7553d4d27eff3df9b48e3e92c20ef79b65 | |
parent | 4330b3a3c245bfc22cb2c47bd30bf726643276d1 (diff) |
Add note.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40638 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Scalar/LICM.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LICM.cpp b/lib/Transforms/Scalar/LICM.cpp index 669afa33ac..ede3bd9dde 100644 --- 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; |