[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.td
Evan Cheng
evan.cheng at apple.com
Sat Mar 25 01:46:02 PST 2006
Changes in directory llvm/lib/Target/X86:
X86InstrInfo.td updated: 1.258 -> 1.259
---
Log message:
Added missing (any_extend (load ...)) patterns.
---
Diffs of the changes: (+3 -0)
X86InstrInfo.td | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/lib/Target/X86/X86InstrInfo.td
diff -u llvm/lib/Target/X86/X86InstrInfo.td:1.258 llvm/lib/Target/X86/X86InstrInfo.td:1.259
--- llvm/lib/Target/X86/X86InstrInfo.td:1.258 Thu Mar 23 10:13:50 2006
+++ llvm/lib/Target/X86/X86InstrInfo.td Sat Mar 25 03:45:48 2006
@@ -2362,6 +2362,9 @@
def : Pat<(i16 (anyext R8 :$src)), (MOVZX16rr8 R8 :$src)>;
def : Pat<(i32 (anyext R8 :$src)), (MOVZX32rr8 R8 :$src)>;
def : Pat<(i32 (anyext R16:$src)), (MOVZX32rr16 R16:$src)>;
+def : Pat<(i16 (anyext (loadi8 addr:$src))), (MOVZX16rm8 addr:$src)>;
+def : Pat<(i32 (anyext (loadi8 addr:$src))), (MOVZX32rm8 addr:$src)>;
+def : Pat<(i32 (anyext (loadi16 addr:$src))), (MOVZX32rm16 addr:$src)>;
//===----------------------------------------------------------------------===//
// Some peepholes
More information about the llvm-commits
mailing list