mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
Explicitly specify MOV32mi can only be used store 32-bit GV, etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28390 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d15531b430
commit
fc8feb184e
@ -2360,9 +2360,9 @@ def : Pat<(add GR32:$src1, (X86Wrapper tglobaladdr :$src2)),
|
|||||||
def : Pat<(add GR32:$src1, (X86Wrapper texternalsym:$src2)),
|
def : Pat<(add GR32:$src1, (X86Wrapper texternalsym:$src2)),
|
||||||
(ADD32ri GR32:$src1, texternalsym:$src2)>;
|
(ADD32ri GR32:$src1, texternalsym:$src2)>;
|
||||||
|
|
||||||
def : Pat<(store (X86Wrapper tglobaladdr:$src), addr:$dst),
|
def : Pat<(store (i32 (X86Wrapper tglobaladdr:$src)), addr:$dst),
|
||||||
(MOV32mi addr:$dst, tglobaladdr:$src)>;
|
(MOV32mi addr:$dst, tglobaladdr:$src)>;
|
||||||
def : Pat<(store (X86Wrapper texternalsym:$src), addr:$dst),
|
def : Pat<(store (i32 (X86Wrapper texternalsym:$src)), addr:$dst),
|
||||||
(MOV32mi addr:$dst, texternalsym:$src)>;
|
(MOV32mi addr:$dst, texternalsym:$src)>;
|
||||||
|
|
||||||
// Calls
|
// Calls
|
||||||
|
Loading…
Reference in New Issue
Block a user