brintos

brintos / llvm-project-archived public Read only

0
0
Text · 305 B · fb3aff8 Raw
11 lines · plain
1## Check that we don't accidentally optimize out a tail call.2 3RUN: %clang %cflags %S/Inputs/sctc_bug.s -o %t4RUN: llvm-bolt %t -o %t.null --funcs=main --print-after-lowering \5RUN:   2>&1 | FileCheck %s6 7CHECK:   jp      .L{{.*}}8CHECK:   je      foo # TAILCALL9CHECK:   xorl    %eax, %eax10CHECK:   retq11