[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.td

Evan Cheng evan.cheng at apple.com
Fri May 19 00:30:51 PDT 2006



Changes in directory llvm/lib/Target/X86:

X86InstrInfo.td updated: 1.268 -> 1.269
---
Log message:

Explicitly specify MOV32mi can only be used store 32-bit GV, etc.

---
Diffs of the changes:  (+2 -2)

 X86InstrInfo.td |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/X86/X86InstrInfo.td
diff -u llvm/lib/Target/X86/X86InstrInfo.td:1.268 llvm/lib/Target/X86/X86InstrInfo.td:1.269
--- llvm/lib/Target/X86/X86InstrInfo.td:1.268	Wed May 17 16:21:41 2006
+++ llvm/lib/Target/X86/X86InstrInfo.td	Fri May 19 02:30:36 2006
@@ -2360,9 +2360,9 @@
 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






More information about the llvm-commits mailing list