[llvm-commits] CVS: llvm/lib/Target/SparcV8/SparcV8InstrInfo.td

Chris Lattner lattner at cs.uiuc.edu
Sun Dec 18 17:45:09 PST 2005



Changes in directory llvm/lib/Target/SparcV8:

SparcV8InstrInfo.td updated: 1.91 -> 1.92
---
Log message:

add the other bool zextload as well


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

 SparcV8InstrInfo.td |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/lib/Target/SparcV8/SparcV8InstrInfo.td
diff -u llvm/lib/Target/SparcV8/SparcV8InstrInfo.td:1.91 llvm/lib/Target/SparcV8/SparcV8InstrInfo.td:1.92
--- llvm/lib/Target/SparcV8/SparcV8InstrInfo.td:1.91	Sun Dec 18 19:43:04 2005
+++ llvm/lib/Target/SparcV8/SparcV8InstrInfo.td	Sun Dec 18 19:44:58 2005
@@ -732,6 +732,7 @@
 
 // zextload bool -> zextload byte
 def : Pat<(i32 (zextload ADDRrr:$src, i1)), (LDUBrr ADDRrr:$src)>;
+def : Pat<(i32 (zextload ADDRri:$src, i1)), (LDUBri ADDRri:$src)>;
 
 // truncstore bool -> truncstore byte.
 def : Pat<(truncstore IntRegs:$src, ADDRrr:$addr, i1), 






More information about the llvm-commits mailing list