brintos

brintos / llvm-project-archived public Read only

0
0
Text · 715 B · 4a9b770 Raw
24 lines · plain
1; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefix=AMD642; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s -check-prefix=WIN643; PR87434; TAILJMPri64 should not receive "callee-saved" registers beyond epilogue.5 6; AMD64: jmpq7; AMD64-NOT: %{{e[a-z]|rbx|rbp|r10|r12|r13|r14|r15}}8 9; WIN64: jmpq10; WIN64-NOT: %{{e[a-z]|rbx|rsi|rdi|rbp|r12|r13|r14|r15}}11 12%class = type { [8 x i8] }13%vt = type { ptr }14 15define ptr @_ZN4llvm9UnsetInit20convertInitializerToEPNS_5RecTyE(ptr16%this, ptr %Ty) align 2 {17entry:18  %vtable = load ptr, ptr %Ty, align 819  %vfn = getelementptr inbounds ptr, ptr %vtable, i64 420  %0 = load ptr, ptr %vfn, align 821  %call = tail call ptr %0(ptr %Ty, ptr %this)22  ret ptr %call23}24