1 ; RUN: opt %s -passes=inline -S | FileCheck %s
3 define internal void @innerSmall() "stack-probe-size"="4096" {
7 define internal void @innerLarge() "stack-probe-size"="8192" {
11 define void @outerNoAttribute() {
12 call void @innerSmall()
16 define void @outerConflictingAttributeSmall() "stack-probe-size"="4096" {
17 call void @innerLarge()
21 define void @outerConflictingAttributeLarge() "stack-probe-size"="8192" {
22 call void @innerSmall()
26 ; CHECK: define void @outerNoAttribute() #0
27 ; CHECK: define void @outerConflictingAttributeSmall() #0
28 ; CHECK: define void @outerConflictingAttributeLarge() #0
29 ; CHECK: attributes #0 = { "stack-probe-size"="4096" }