[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCInstr64Bit.td
Jim Laskey
jlaskey at apple.com
Fri Dec 15 10:51:16 PST 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCInstr64Bit.td updated: 1.36 -> 1.37
---
Log message:
Not all test cases are created equal. This fix is needed.
---
Diffs of the changes: (+4 -0)
PPCInstr64Bit.td | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/lib/Target/PowerPC/PPCInstr64Bit.td
diff -u llvm/lib/Target/PowerPC/PPCInstr64Bit.td:1.36 llvm/lib/Target/PowerPC/PPCInstr64Bit.td:1.37
--- llvm/lib/Target/PowerPC/PPCInstr64Bit.td:1.36 Fri Dec 15 12:45:32 2006
+++ llvm/lib/Target/PowerPC/PPCInstr64Bit.td Fri Dec 15 12:51:01 2006
@@ -491,6 +491,10 @@
(LBZ8 iaddr:$src)>;
def : Pat<(extloadi1 xaddr:$src),
(LBZX8 xaddr:$src)>;
+def : Pat<(sextloadi8 iaddr:$src),
+ (EXTSB8 (LBZ8 iaddr:$src))>;
+def : Pat<(sextloadi8 xaddr:$src),
+ (EXTSB8 (LBZX8 xaddr:$src))>;
def : Pat<(extloadi8 iaddr:$src),
(LBZ8 iaddr:$src)>;
def : Pat<(extloadi8 xaddr:$src),
More information about the llvm-commits
mailing list