mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Explicitly specify MOV32mi can only be used store 32-bit GV, etc.
llvm-svn: 28390
This commit is contained in:
parent
accb9d0378
commit
ff19d6478e
@ -2360,9 +2360,9 @@ def : Pat<(add GR32:$src1, (X86Wrapper tglobaladdr :$src2)),
|
||||
def : Pat<(add GR32:$src1, (X86Wrapper 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)>;
|
||||
def : Pat<(store (X86Wrapper texternalsym:$src), addr:$dst),
|
||||
def : Pat<(store (i32 (X86Wrapper texternalsym:$src)), addr:$dst),
|
||||
(MOV32mi addr:$dst, texternalsym:$src)>;
|
||||
|
||||
// Calls
|
||||
|
Loading…
Reference in New Issue
Block a user