1 ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefix=AMD64
2 ; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s -check-prefix=WIN64
4 ; TAILJMPri64 should not receive "callee-saved" registers beyond epilogue.
7 ; AMD64-NOT: %{{e[a-z]|rbx|rbp|r10|r12|r13|r14|r15}}
10 ; WIN64-NOT: %{{e[a-z]|rbx|rsi|rdi|rbp|r12|r13|r14|r15}}
12 %class = type { [8 x i8] }
15 define ptr @_ZN4llvm9UnsetInit20convertInitializerToEPNS_5RecTyE(ptr
16 %this, ptr %Ty) align 2 {
18 %vtable = load ptr, ptr %Ty, align 8
19 %vfn = getelementptr inbounds ptr, ptr %vtable, i64 4
20 %0 = load ptr, ptr %vfn, align 8
21 %call = tail call ptr %0(ptr %Ty, ptr %this)