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()).
4 RUN: %clang %cflags %p/Inputs/ctc_and_unreachable.s -o %t.exe -Wl,-q
5 RUN: llvm-bolt %t.exe -o %t --print-after-lowering --print-only=foo 2>&1 | FileCheck %s
7 CHECK: Binary Function "foo"
9 CHECK: je bar # TAILCALL
11 CHECK: cmpq $0x1, %rdi
13 CHECK: End of Function "foo"