1## Check that we don't fail processing a function with conditional tail call and 2## a fall-through to a next function (result of builtin_unreachable()). 3 4RUN: %clang %cflags %p/Inputs/ctc_and_unreachable.s -o %t.exe -Wl,-q 5RUN: llvm-bolt %t.exe -o %t --print-after-lowering --print-only=foo 2>&1 | FileCheck %s 6 7CHECK: Binary Function "foo" 8CHECK: cmpq $0x1, %rdi 9CHECK: je bar # TAILCALL 10CHECK: retq 11CHECK: cmpq $0x1, %rdi 12CHECK: jmp .Ltmp[[#]] 13CHECK: End of Function "foo" 14