From: Devang Patel Date: Tue, 31 Jul 2007 16:52:25 +0000 (+0000) Subject: Add note. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8d246f09cb46fe38aa71d2a4edcd84f30c4bf80e;p=oota-llvm.git Add note. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40638 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/LICM.cpp b/lib/Transforms/Scalar/LICM.cpp index 669afa33ac9..ede3bd9dde6 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;