1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt -passes=partial-inliner -S < %s | FileCheck %s
3 declare i1 @llvm.public.type.test(ptr, metadata)
8 ; CHECK-NEXT: br i1 false, label [[WHILE_END:%.*]], label [[WHILE_BODY:%.*]]
10 ; CHECK-NEXT: call void @dummy.1.while.body()
11 ; CHECK-NEXT: br label [[WHILE_END]]
13 ; CHECK-NEXT: ret void
16 br i1 false, label %while.end, label %while.body
18 while.body: ; preds = %entry
22 unreachable.block: ; No predecessors!
23 %0 = tail call i1 @llvm.public.type.test(ptr null, metadata !"test-function")
24 %result = getelementptr ptr, ptr null, i64 1
27 while.end: ; preds = %unreachable.block, %while.body, %entry