mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-01 18:33:56 +00:00
memory barrier instructions by definition have side effects. This prevents the post-RA scheduler from moving them around.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91150 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
192db0027c
commit
c8f9e4fdc5
@ -1574,7 +1574,7 @@ def MOVCCi : AI1<0b1101, (outs GPR:$dst),
|
||||
//
|
||||
|
||||
// memory barriers protect the atomic sequences
|
||||
let isPredicable = 0 in {
|
||||
let isPredicable = 0, hasSideEffects = 1 in {
|
||||
def Int_MemBarrierV7 : AI<(outs), (ins),
|
||||
Pseudo, NoItinerary,
|
||||
"dmb", "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user