1 ; RUN: opt < %s -passes=partial-inliner -skip-partial-inlining-cost-analysis -disable-output
2 ; This testcase tests the assumption cache
4 define internal i32 @inlinedFunc(i1 %cond, ptr 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, ptr %align.val, align 4
11 return: ; preds = %entry
15 define internal i32 @dummyCaller(i1 %cond, ptr align 2 %align.val) {
17 %val = call i32 @inlinedFunc(i1 %cond, ptr %align.val)