mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 04:31:08 +00:00
Fix comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89129 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
95a2c8f1d0
commit
7adcdc313f
@ -242,9 +242,9 @@ bool MachineLICM::IsLoopInvariantInst(MachineInstr &I) {
|
|||||||
// to decide whether the loaded value is actually a constant. If so, we can
|
// to decide whether the loaded value is actually a constant. If so, we can
|
||||||
// actually use it as a load.
|
// actually use it as a load.
|
||||||
if (!I.isInvariantLoad(AA))
|
if (!I.isInvariantLoad(AA))
|
||||||
// FIXME: we should be able to sink loads with no other side effects if
|
// FIXME: we should be able to hoist loads with no other side effects if
|
||||||
// there is nothing that can change memory from here until the end of
|
// there are no other instructions which can change memory in this loop.
|
||||||
// block. This is a trivial form of alias analysis.
|
// This is a trivial form of alias analysis.
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user