mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
Set hasSideEffects on the 64-bit no-sse memory barrier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110369 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e3ede5e2e4
commit
da93b2cb8f
@ -1620,7 +1620,7 @@ def MOV64FSrm : RI<0x8B, MRMSrcMem, (outs GR64:$dst), (ins i64mem:$src),
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// TODO: Get this to fold the constant into the instruction.
|
||||
let Defs = [ESP] in
|
||||
let hasSideEffects = 1, Defs = [ESP] in
|
||||
def Int_MemBarrierNoSSE64 : RI<0x09, MRM1r, (outs), (ins GR64:$zero),
|
||||
"lock\n\t"
|
||||
"or{q}\t{$zero, (%rsp)|(%rsp), $zero}",
|
||||
|
Loading…
x
Reference in New Issue
Block a user