xref: /llvm-project/bolt/test/X86/sctc-bug2.test (revision 11791ae7b0b05b8bd8d806331ff51da618912cf8)
1## Check that conditional tail call is not treated as a regular tail call by SCTC.
2
3RUN: %clang %cflags %S/Inputs/sctc_bug2.s -o %t
4RUN: llvm-bolt %t -o %t.null --funcs=main --print-after-lowering \
5RUN:   --sequential-disassembly 2>&1 | FileCheck %s
6
7CHECK: .LFT1
8CHECK:   ja      .Ltmp0
9