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 | 022953630124e035d37cb2b0135872b98827ccdb (patch) | |
| tree | 4bc7c7135068d5d441e45b803425629861b3698b /llvm/lib/CodeGen | |
| parent | 061644a69dfc38460e9205192d2bb7b16a8debd4 (diff) | |
| download | bcm5719-llvm-022953630124e035d37cb2b0135872b98827ccdb.tar.gz bcm5719-llvm-022953630124e035d37cb2b0135872b98827ccdb.zip | |
Fix comment.
llvm-svn: 89129
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/MachineLICM.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineLICM.cpp b/llvm/lib/CodeGen/MachineLICM.cpp index 163a950d92d..33b6b823446 100644 --- a/llvm/lib/CodeGen/MachineLICM.cpp +++ b/llvm/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; } |

