brintos

brintos / llvm-project-archived public Read only

0
0
Text · 719 B · e200ad3 Raw
30 lines · plain
1; RUN: opt %s -passes=inline -S | FileCheck %s2 3define internal void @innerSmall() "stack-probe-size"="4096" {4  ret void5}6 7define internal void @innerLarge() "stack-probe-size"="8192" {8  ret void9}10 11define void @outerNoAttribute() {12  call void @innerSmall()13  ret void14}15 16define void @outerConflictingAttributeSmall() "stack-probe-size"="4096" {17  call void @innerLarge()18  ret void19}20 21define void @outerConflictingAttributeLarge() "stack-probe-size"="8192" {22  call void @innerSmall()23  ret void24}25 26; CHECK: define void @outerNoAttribute() #027; CHECK: define void @outerConflictingAttributeSmall() #028; CHECK: define void @outerConflictingAttributeLarge() #029; CHECK: attributes #0 = { "stack-probe-size"="4096" }30