brintos

brintos / llvm-project-archived public Read only

0
0
Text · 389 B · 847c482 Raw
12 lines · plain
1## Tests the optimization of functions that just do a tail call in the beginning.2 3RUN: %clangxx %cxxflags -O2 %S/Inputs/jmp_opt.cpp %S/Inputs/jmp_opt2.cpp \4RUN:   %S/Inputs/jmp_opt3.cpp -o %t5RUN: llvm-bolt -inline-small-functions %t -o %t.bolt6RUN: llvm-objdump -d %t.bolt --print-imm-hex | FileCheck %s7 8CHECK:     <main>:9CHECK-NOT: call10CHECK:     xorl    %eax, %eax11CHECK:     retq12