1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt < %s -inline -S | FileCheck %s
6 define internal fastcc void @func4() {
9 ; CHECK-NEXT: br label [[FOR_COND:%.*]]
11 ; CHECK-NEXT: tail call void (...) @g()
12 ; CHECK-NEXT: br label [[FOR_COND]]
18 tail call void (...) @g()
22 define internal fastcc void @func3() {
23 ; CHECK-LABEL: @func3(
25 ; CHECK-NEXT: tail call fastcc void @func4()
26 ; CHECK-NEXT: unreachable
29 tail call fastcc void @func4()
33 define internal fastcc void @func2() {
34 ; CHECK-LABEL: @func2(
36 ; CHECK-NEXT: tail call fastcc void @func3()
37 ; CHECK-NEXT: unreachable
40 tail call fastcc void @func3()
44 define internal fastcc void @func1() {
45 ; CHECK-LABEL: @func1(
47 ; CHECK-NEXT: tail call fastcc void @func2()
48 ; CHECK-NEXT: unreachable
51 tail call fastcc void @func2()
58 ; CHECK-NEXT: tail call fastcc void @func1()
59 ; CHECK-NEXT: unreachable
62 tail call fastcc void @func1()