[llvm-commits] CVS: llvm/lib/Target/SparcV8/SparcV8InstrInfo.td
Chris Lattner
lattner at cs.uiuc.edu
Sun Dec 18 17:43:15 PST 2005
Changes in directory llvm/lib/Target/SparcV8:
SparcV8InstrInfo.td updated: 1.90 -> 1.91
---
Log message:
implement zextload bool
---
Diffs of the changes: (+3 -0)
SparcV8InstrInfo.td | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/lib/Target/SparcV8/SparcV8InstrInfo.td
diff -u llvm/lib/Target/SparcV8/SparcV8InstrInfo.td:1.90 llvm/lib/Target/SparcV8/SparcV8InstrInfo.td:1.91
--- llvm/lib/Target/SparcV8/SparcV8InstrInfo.td:1.90 Sun Dec 18 19:22:53 2005
+++ llvm/lib/Target/SparcV8/SparcV8InstrInfo.td Sun Dec 18 19:43:04 2005
@@ -730,6 +730,9 @@
def : Pat<(i32 (extload ADDRrr:$src, i16)), (LDUHrr ADDRrr:$src)>;
def : Pat<(i32 (extload ADDRri:$src, i16)), (LDUHri ADDRri:$src)>;
+// zextload bool -> zextload byte
+def : Pat<(i32 (zextload ADDRrr:$src, i1)), (LDUBrr ADDRrr:$src)>;
+
// truncstore bool -> truncstore byte.
def : Pat<(truncstore IntRegs:$src, ADDRrr:$addr, i1),
(STBrr IntRegs:$src, ADDRrr:$addr)>;
More information about the llvm-commits
mailing list