mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Get rid of unused codegen-only instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148239 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -562,15 +562,6 @@ def Int_MemBarrier : I<0, Pseudo, (outs), (ins),
|
||||
"#MEMBARRIER",
|
||||
[(X86MemBarrier)]>;
|
||||
|
||||
// TODO: Get this to fold the constant into the instruction.
|
||||
let hasSideEffects = 1, Defs = [ESP], isCodeGenOnly = 1 in
|
||||
def Int_MemBarrierNoSSE64 : RI<0x09, MRM1r, (outs), (ins GR64:$zero),
|
||||
"lock\n\t"
|
||||
"or{q}\t{$zero, (%rsp)|(%rsp), $zero}",
|
||||
[(X86MemBarrierNoSSE GR64:$zero)]>,
|
||||
Requires<[In64BitMode]>, LOCK;
|
||||
|
||||
|
||||
// RegOpc corresponds to the mr version of the instruction
|
||||
// ImmOpc corresponds to the mi version of the instruction
|
||||
// ImmOpc8 corresponds to the mi8 version of the instruction
|
||||
|
Reference in New Issue
Block a user