21 lines · plain
1; RUN: opt %s -passes=inline -S | FileCheck %s2 3define internal void @inner() "probe-stack"="__probestackinner" {4 ret void5}6 7define void @outerNoAttribute() {8 call void @inner()9 ret void10}11 12define void @outerConflictingAttribute() "probe-stack"="__probestackouter" {13 call void @inner()14 ret void15}16 17; CHECK: define void @outerNoAttribute() #018; CHECK: define void @outerConflictingAttribute() #119; CHECK: attributes #0 = { "probe-stack"="__probestackinner" }20; CHECK: attributes #1 = { "probe-stack"="__probestackouter" }21