1 ; RUN: opt < %s -passes=inline -S | FileCheck %s
2 ; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s
4 define internal i32 @callee1(i32 %A, i32 %B) {
7 %cond = icmp eq i32 %A, 123
8 br i1 %cond, label %T, label %F
18 define internal i32 @callee2(i32 %A, i32 %B) {
21 switch i32 %A, label %T [
27 %cond = icmp eq i32 %A, 123
28 br i1 %cond, label %T, label %F
43 define i32 @test(i32 %A) {
44 ; CHECK-LABEL: define i32 @test(i32 %A)
46 %X = call i32 @callee1( i32 10, i32 %A )
47 %Y = call i32 @callee2( i32 10, i32 %A )