diff options
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/X86/tailcall-pseudo-64.mir | 10 | ||||
| -rw-r--r-- | llvm/test/CodeGen/X86/tailcall-pseudo.mir | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/tailcall-pseudo-64.mir b/llvm/test/CodeGen/X86/tailcall-pseudo-64.mir new file mode 100644 index 00000000000..71d2ebdb06b --- /dev/null +++ b/llvm/test/CodeGen/X86/tailcall-pseudo-64.mir @@ -0,0 +1,10 @@ +#RUN: llc -verify-machineinstrs -mtriple=x86_64-apple-darwin -o - -run-pass=x86-pseudo %s | FileCheck %s +--- +name: tail_call_fail_64 +tracksRegLiveness: true +body: | + bb.0: + TCRETURNri64 undef renamable $rax, 0, csr_64, implicit $rsp, implicit $ssp + ; CHECK: TAILJMPr64 killed undef renamable $rax, csr_64, implicit $rsp, implicit $ssp + +... diff --git a/llvm/test/CodeGen/X86/tailcall-pseudo.mir b/llvm/test/CodeGen/X86/tailcall-pseudo.mir new file mode 100644 index 00000000000..af52a4ddef7 --- /dev/null +++ b/llvm/test/CodeGen/X86/tailcall-pseudo.mir @@ -0,0 +1,10 @@ +#RUN: llc -verify-machineinstrs -mtriple=i386-apple-darwin -o - -run-pass=x86-pseudo %s | FileCheck %s +--- +name: tail_call_fail +tracksRegLiveness: true +body: | + bb.0: + TCRETURNri undef renamable $eax, 0, csr_32, implicit $esp, implicit $ssp + ; CHECK: TAILJMPr killed undef renamable $eax, csr_32, implicit $esp, implicit $ssp + +... |

