From: Chris Lattner Date: Wed, 11 Jan 2006 07:15:43 +0000 (+0000) Subject: Unbreak ret void :-/ X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1b8af84a8448b7803695f86785944fb3d0b75eb1;p=oota-llvm.git Unbreak ret void :-/ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25210 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td index e3b2e13a8f3..bbba1fcba41 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)>; diff --git a/lib/Target/SparcV8/SparcV8InstrInfo.td b/lib/Target/SparcV8/SparcV8InstrInfo.td index e3b2e13a8f3..bbba1fcba41 100644 --- a/lib/Target/SparcV8/SparcV8InstrInfo.td +++ b/lib/Target/SparcV8/SparcV8InstrInfo.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)>;