1 ; RUN: opt < %s -skip-partial-inlining-cost-analysis -partial-inliner -S | FileCheck %s
2 ; RUN: opt < %s -skip-partial-inlining-cost-analysis -passes=partial-inliner -S | FileCheck %s
4 define internal i32 @inlinedFunc(i1 %cond, i32* align 4 %align.val) {
6 br i1 %cond, label %if.then, label %return
8 ; Dummy store to have more than 0 uses
9 store i32 10, i32* %align.val, align 4
11 return: ; preds = %entry
15 define internal i32 @dummyCaller(i1 %cond, i32* align 2 %align.val) {
17 ; CHECK-LABEL: @dummyCaller
19 ; CHECK: call void @inlinedFunc.1.
20 %val = call i32 @inlinedFunc(i1 %cond, i32* %align.val)