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