From add305de265f677371c14768df86fa20347a334b Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 21 Dec 2005 22:22:16 +0000 Subject: [PATCH] Oops. Accidentally deleted RET pattern. It's still needed for return void; llvm-svn: 24920 --- lib/Target/X86/X86InstrInfo.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index 9c7fcb0237f..074c86d0815 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -290,7 +290,7 @@ let isTerminator = 1 in // Return instructions. let isTerminator = 1, isReturn = 1, isBarrier = 1, hasCtrlDep = 1 in - def RET : I<0xC3, RawFrm, (ops), "ret", []>; + def RET : I<0xC3, RawFrm, (ops), "ret", [(ret)]>; let isTerminator = 1, isReturn = 1, isBarrier = 1, hasCtrlDep = 1 in def RETI : Ii16<0xC2, RawFrm, (ops i16imm:$amt), "ret $amt", []>;