1# Tests the optimization of functions that just do a tail call in the beginning.
2
3RUN: %clang -O2 %S/Inputs/jmp_opt{,2,3}.cpp -o %t
4RUN: llvm-bolt -inline-small-functions %t -o %t.bolt
5RUN: llvm-objdump -d %t.bolt --print-imm-hex | FileCheck %s
6
7CHECK:     <main>:
8CHECK-NOT: call
9CHECK:     xorl    %eax, %eax
10CHECK:     retq
11