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

Nate Begeman natebegeman at mac.com
Sat Apr 22 15:31:57 PDT 2006



Changes in directory llvm/lib/Target/X86:

X86InstrInfo.td updated: 1.261 -> 1.262
---
Log message:

Optimized stores to the constant pool, while cool, are unnecessary.


---
Diffs of the changes:  (+0 -3)

 X86InstrInfo.td |    3 ---
 1 files changed, 3 deletions(-)


Index: llvm/lib/Target/X86/X86InstrInfo.td
diff -u llvm/lib/Target/X86/X86InstrInfo.td:1.261 llvm/lib/Target/X86/X86InstrInfo.td:1.262
--- llvm/lib/Target/X86/X86InstrInfo.td:1.261	Sat Apr 22 13:53:45 2006
+++ llvm/lib/Target/X86/X86InstrInfo.td	Sat Apr 22 17:31:45 2006
@@ -2323,9 +2323,6 @@
 def : Pat<(add R32:$src1, (X86Wrapper texternalsym:$src2)),
           (ADD32ri R32:$src1, texternalsym:$src2)>;
 
-// FIXME: can you really ever store to a constant pool?
-def : Pat<(store (X86Wrapper tconstpool:$src), addr:$dst),
-          (MOV32mi addr:$dst, tconstpool:$src)>;
 def : Pat<(store (X86Wrapper tglobaladdr:$src), addr:$dst),
           (MOV32mi addr:$dst, tglobaladdr:$src)>;
 def : Pat<(store (X86Wrapper texternalsym:$src), addr:$dst),






More information about the llvm-commits mailing list