16 lines · plain
1## Check that we don't accidentally optimize out a tail call.2 3RUN: %clang %cflags %S/Inputs/sctc_bug3.s -o %t4RUN: llvm-bolt %t -o %t.null --funcs=main --print-after-lowering \5RUN: --sequential-disassembly 2>&1 | FileCheck %s6 7CHECK: .LBB00 (1 instructions, align : 1)8CHECK: cmpq %rdi, 0x09 10## Check that .Ltmp0 does not have a deleted predecessor.11CHECK: .Ltmp0 (1 instructions, align : 1)12CHECK: Predecessors: .LBB0013 14## Tail call.15CHECK: jmp foo16