mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
Add neverHasSideEffects=1 on a couple move instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190259 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
89bf2e163c
commit
704e8d41fe
@ -1216,7 +1216,7 @@ def MOV8rr_NOREX : I<0x88, MRMDestReg,
|
||||
(outs GR8_NOREX:$dst), (ins GR8_NOREX:$src),
|
||||
"mov{b}\t{$src, $dst|$dst, $src} # NOREX", [], IIC_MOV>,
|
||||
Sched<[WriteMove]>;
|
||||
let mayStore = 1 in
|
||||
let mayStore = 1, neverHasSideEffects = 1 in
|
||||
def MOV8mr_NOREX : I<0x88, MRMDestMem,
|
||||
(outs), (ins i8mem_NOREX:$dst, GR8_NOREX:$src),
|
||||
"mov{b}\t{$src, $dst|$dst, $src} # NOREX", [],
|
||||
|
@ -3643,7 +3643,7 @@ def MOVDQUrm : I<0x6F, MRMSrcMem, (outs VR128:$dst), (ins i128mem:$src),
|
||||
XS, Requires<[UseSSE2]>;
|
||||
}
|
||||
|
||||
let mayStore = 1, SchedRW = [WriteStore] in {
|
||||
let mayStore = 1, neverHasSideEffects = 1, SchedRW = [WriteStore] in {
|
||||
def MOVDQAmr : PDI<0x7F, MRMDestMem, (outs), (ins i128mem:$dst, VR128:$src),
|
||||
"movdqa\t{$src, $dst|$dst, $src}",
|
||||
[/*(alignedstore (v2i64 VR128:$src), addr:$dst)*/],
|
||||
|
Loading…
x
Reference in New Issue
Block a user