1
0
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:
Evan Cheng 2006-05-19 07:30:36 +00:00
parent accb9d0378
commit ff19d6478e

View File

@ -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