Summary: The majority of tests in LLVM projects are using - instead of _ in the name, i.e. `check-something.test` is preferred over `check_something.test`. It makes sense for us to adopt the same naming scheme for our future tests and to rename existing ones. (cherry picked from FBD32185879)
11 lines
327 B
Plaintext
11 lines
327 B
Plaintext
# Tests the optimization of functions that just do a tail call in the beginning.
|
|
|
|
RUN: %clang -O2 %S/Inputs/jmp_opt{,2,3}.cpp -o %t
|
|
RUN: llvm-bolt -inline-small-functions %t -o %t.bolt
|
|
RUN: llvm-objdump -d %t.bolt --print-imm-hex | FileCheck %s
|
|
|
|
CHECK: <main>:
|
|
CHECK-NOT: call
|
|
CHECK: xorl %eax, %eax
|
|
CHECK: retq
|