mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163154 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1318,7 +1318,7 @@ bool MachineInstr::isSafeToMove(const TargetInstrInfo *TII,
|
|||||||
// Ignore stuff that we obviously can't move.
|
// Ignore stuff that we obviously can't move.
|
||||||
//
|
//
|
||||||
// Treat volatile loads as stores. This is not strictly necessary for
|
// Treat volatile loads as stores. This is not strictly necessary for
|
||||||
// volatiles, but it is required for atomic loads. It is now allowed to move
|
// volatiles, but it is required for atomic loads. It is not allowed to move
|
||||||
// a load across an atomic load with Ordering > Monotonic.
|
// a load across an atomic load with Ordering > Monotonic.
|
||||||
if (mayStore() || isCall() ||
|
if (mayStore() || isCall() ||
|
||||||
(mayLoad() && hasOrderedMemoryRef())) {
|
(mayLoad() && hasOrderedMemoryRef())) {
|
||||||
|
Reference in New Issue
Block a user