mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Make isSafeToSpeculativelyExecute() return the right answer for some new instructions. Found by inspection; not sure what practical impact, if any, this has.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138962 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bcf47a5bce
commit
81b4e434d9
@ -436,6 +436,10 @@ bool Instruction::isSafeToSpeculativelyExecute() const {
|
|||||||
case Unwind:
|
case Unwind:
|
||||||
case Unreachable:
|
case Unreachable:
|
||||||
case Fence:
|
case Fence:
|
||||||
|
case LandingPad:
|
||||||
|
case AtomicRMW:
|
||||||
|
case AtomicCmpXchg:
|
||||||
|
case Resume:
|
||||||
return false; // Misc instructions which have effects
|
return false; // Misc instructions which have effects
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user