Fix comment.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 17 Nov 2009 19:19:01 +0000 (19:19 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 17 Nov 2009 19:19:01 +0000 (19:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89129 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineLICM.cpp

index 163a950d92d32f166d4b98b5063a571e1012feaf..33b6b823446e620b473da3e3f1faf00e5d175baa 100644 (file)
@@ -242,9 +242,9 @@ bool MachineLICM::IsLoopInvariantInst(MachineInstr &I) {
     // to decide whether the loaded value is actually a constant. If so, we can
     // actually use it as a load.
     if (!I.isInvariantLoad(AA))
-      // FIXME: we should be able to sink loads with no other side effects if
-      // there is nothing that can change memory from here until the end of
-      // block. This is a trivial form of alias analysis.
+      // FIXME: we should be able to hoist loads with no other side effects if
+      // there are no other instructions which can change memory in this loop.
+      // This is a trivial form of alias analysis.
       return false;
   }