[llvm-commits] [llvm] r94205 - in /llvm/trunk: lib/Target/X86/X86Instr64bit.td test/MC/AsmParser/X86/x86_instructions.s
Daniel Dunbar
daniel at zuster.org
Fri Jan 22 12:16:38 PST 2010
Author: ddunbar
Date: Fri Jan 22 14:16:37 2010
New Revision: 94205
URL: http://llvm.org/viewvc/llvm-project?rev=94205&view=rev
Log:
Mark EH_RETURN64 as CodeGenOnly.
Modified:
llvm/trunk/lib/Target/X86/X86Instr64bit.td
llvm/trunk/test/MC/AsmParser/X86/x86_instructions.s
Modified: llvm/trunk/lib/Target/X86/X86Instr64bit.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86Instr64bit.td?rev=94205&r1=94204&r2=94205&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86Instr64bit.td (original)
+++ llvm/trunk/lib/Target/X86/X86Instr64bit.td Fri Jan 22 14:16:37 2010
@@ -207,7 +207,7 @@
// EH Pseudo Instructions
//
let isTerminator = 1, isReturn = 1, isBarrier = 1,
- hasCtrlDep = 1 in {
+ hasCtrlDep = 1, isCodeGenOnly = 1 in {
def EH_RETURN64 : I<0xC3, RawFrm, (outs), (ins GR64:$addr),
"ret\t#eh_return, addr: $addr",
[(X86ehret GR64:$addr)]>;
Modified: llvm/trunk/test/MC/AsmParser/X86/x86_instructions.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/X86/x86_instructions.s?rev=94205&r1=94204&r2=94205&view=diff
==============================================================================
--- llvm/trunk/test/MC/AsmParser/X86/x86_instructions.s (original)
+++ llvm/trunk/test/MC/AsmParser/X86/x86_instructions.s Fri Jan 22 14:16:37 2010
@@ -16,7 +16,9 @@
movl %eax, 10(%ebp, %ebx, 4)
// CHECK: movl %eax, 10(,%ebx,4)
movl %eax, 10(, %ebx, 4)
-
+// CHECK: ret
+ ret
+
// FIXME: Check that this matches SUB32ri8
// CHECK: subl $1, %eax
subl $1, %eax
More information about the llvm-commits
mailing list