1; RUN: opt < %s -partial-inliner -skip-partial-inlining-cost-analysis -disable-output 2; This testcase tests the assumption cache 3 4define internal i32 @inlinedFunc(i1 %cond, i32* align 4 %align.val) { 5entry: 6 br i1 %cond, label %if.then, label %return 7if.then: 8 ; Dummy store to have more than 0 uses 9 store i32 10, i32* %align.val, align 4 10 br label %return 11return: ; preds = %entry 12 ret i32 0 13} 14 15define internal i32 @dummyCaller(i1 %cond, i32* align 2 %align.val) { 16entry: 17 %val = call i32 @inlinedFunc(i1 %cond, i32* %align.val) 18 ret i32 %val 19} 20 21