add ret void support back
authorChris Lattner <sabre@nondot.org>
Mon, 9 Jan 2006 23:20:37 +0000 (23:20 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 9 Jan 2006 23:20:37 +0000 (23:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25164 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCInstrInfo.td

index 1e7166c9c0b7e88a3b2be439a6f5724d70fe404e..155c14d47d6b411fd477cdf85a48c9bec73be098 100644 (file)
@@ -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)),