aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Sparc
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-11 07:15:43 +0000
committerChris Lattner <sabre@nondot.org>2006-01-11 07:15:43 +0000
commit1b8af84a8448b7803695f86785944fb3d0b75eb1 (patch)
treeef8bf37fb0bd0aa471b7380acfc6771f6ae8af63 /lib/Target/Sparc
parentbda559e1158497706a7a44bffc0ca307dd9cad28 (diff)
Unbreak ret void :-/
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25210 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r--lib/Target/Sparc/SparcInstrInfo.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td
index e3b2e13a8f..bbba1fcba4 100644
--- a/lib/Target/Sparc/SparcInstrInfo.td
+++ b/lib/Target/Sparc/SparcInstrInfo.td
@@ -730,6 +730,7 @@ def : Pat<(call tglobaladdr:$dst),
def : Pat<(call externalsym:$dst),
(CALL externalsym:$dst)>;
+def : Pat<(ret), (RETL)>;
// Map integer extload's to zextloads.
def : Pat<(i32 (extload ADDRrr:$src, i1)), (LDUBrr ADDRrr:$src)>;