[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCInstrInfo.td
Chris Lattner
lattner at cs.uiuc.edu
Mon Jan 9 15:20:49 PST 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCInstrInfo.td updated: 1.170 -> 1.171
---
Log message:
add ret void support back
---
Diffs of the changes: (+4 -0)
PPCInstrInfo.td | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/lib/Target/PowerPC/PPCInstrInfo.td
diff -u llvm/lib/Target/PowerPC/PPCInstrInfo.td:1.170 llvm/lib/Target/PowerPC/PPCInstrInfo.td:1.171
--- llvm/lib/Target/PowerPC/PPCInstrInfo.td:1.170 Mon Jan 9 12:28:21 2006
+++ llvm/lib/Target/PowerPC/PPCInstrInfo.td Mon Jan 9 17:20:37 2006
@@ -987,6 +987,10 @@
(srl GPRC:$rS, (sub 32, GPRC:$rB))),
(RLWNM GPRC:$rS, GPRC:$rB, 0, 31)>;
+// Return void support.
+def : Pat<(ret), (BLR)>;
+
+// 64-bit support
def : Pat<(i64 (zext GPRC:$in)),
(RLDICL (OR4To8 GPRC:$in, GPRC:$in), 0, 32)>;
def : Pat<(i64 (anyext GPRC:$in)),
More information about the llvm-commits
mailing list