aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCInstrInfo.td
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-09 23:20:37 +0000
committerChris Lattner <sabre@nondot.org>2006-01-09 23:20:37 +0000
commite5cf122869fcace7dbdc40b5a351f76f338cd35b (patch)
tree8fc108d3492abe26539dc5864602bb4292f74dee /lib/Target/PowerPC/PPCInstrInfo.td
parent510e478098aa939044959aed6770a3f17bff303e (diff)
downloadexternal_llvm-e5cf122869fcace7dbdc40b5a351f76f338cd35b.zip
external_llvm-e5cf122869fcace7dbdc40b5a351f76f338cd35b.tar.gz
external_llvm-e5cf122869fcace7dbdc40b5a351f76f338cd35b.tar.bz2
add ret void support back
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25164 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCInstrInfo.td')
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.td4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td
index 1e7166c..155c14d 100644
--- a/lib/Target/PowerPC/PPCInstrInfo.td
+++ b/lib/Target/PowerPC/PPCInstrInfo.td
@@ -987,6 +987,10 @@ def : Pat<(or (shl GPRC:$rS, GPRC:$rB),
(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)),