Add note.
authorDevang Patel <dpatel@apple.com>
Tue, 31 Jul 2007 16:52:25 +0000 (16:52 +0000)
committerDevang 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

index 669afa33ac9463f33672ebb04c8f4fa7727b86ec..ede3bd9dde630acb39c3ca052605664eac27bfc1 100644 (file)
@@ -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;