X86-64: Mark WINCALL and more tail call instructions as code gen only.
authorDaniel Dunbar <daniel@zuster.org>
Mon, 19 Jul 2010 07:21:07 +0000 (07:21 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 19 Jul 2010 07:21:07 +0000 (07:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108685 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86Instr64bit.td
test/MC/AsmParser/X86/x86_instructions.s

index 9baba5d0722c13db9b8545c9aaae83eff487704b..0b4cd98ef09fe373b1ed4507105ecdeb5e6e19f7 100644 (file)
@@ -158,7 +158,7 @@ let isCall = 1 in
 
   // FIXME: We need to teach codegen about single list of call-clobbered 
   // registers.
-let isCall = 1 in
+let isCall = 1, isCodeGenOnly = 1 in
   // All calls clobber the non-callee saved registers. RSP is marked as
   // a use to prevent stack-pointer assignments that appear immediately
   // before calls from potentially appearing dead. Uses for argument
@@ -182,7 +182,8 @@ let isCall = 1 in
   }
 
 
-let isCall = 1, isTerminator = 1, isReturn = 1, isBarrier = 1 in
+let isCall = 1, isTerminator = 1, isReturn = 1, isBarrier = 1,
+    isCodeGenOnly = 1 in
   let Defs = [RAX, RCX, RDX, RSI, RDI, R8, R9, R10, R11,
               FP0, FP1, FP2, FP3, FP4, FP5, FP6, ST0, ST1,
               MM0, MM1, MM2, MM3, MM4, MM5, MM6, MM7,
index 4bc8a4bb3a84858224d438f419ca3afaab1f862a..92fb1b243114058a8dc6a41de0022b4cd4c10170 100644 (file)
@@ -56,7 +56,7 @@
         subl %eax, %ebx
         
 // FIXME: Check that this matches the correct instruction.
-// CHECK: call *%rax
+// CHECK: callq *%rax
         call *%rax
 
 // FIXME: Check that this matches the correct instruction.