diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-11-17 19:19:01 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-11-17 19:19:01 +0000 |
commit | 7adcdc313f8367808a1f43c34ca67a4044595327 (patch) | |
tree | 2723d4136ed424456abdfba606c093955427d411 | |
parent | 95a2c8f1d0f29ce2a5ec8c41dac8b406aef88c68 (diff) | |
download | external_llvm-7adcdc313f8367808a1f43c34ca67a4044595327.zip external_llvm-7adcdc313f8367808a1f43c34ca67a4044595327.tar.gz external_llvm-7adcdc313f8367808a1f43c34ca67a4044595327.tar.bz2 |
Fix comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89129 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/MachineLICM.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/MachineLICM.cpp b/lib/CodeGen/MachineLICM.cpp index 163a950..33b6b82 100644 --- a/lib/CodeGen/MachineLICM.cpp +++ b/lib/CodeGen/MachineLICM.cpp @@ -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; } |