1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/test/Transforms/Inline/inline-probe-stack.ll

21 lines
525 B
LLVM
Raw Normal View History

; RUN: opt %s -inline -S | FileCheck %s
define internal void @inner() "probe-stack"="__probestackinner" {
ret void
}
define void @outerNoAttribute() {
call void @inner()
ret void
}
define void @outerConflictingAttribute() "probe-stack"="__probestackouter" {
call void @inner()
ret void
}
; CHECK: define void @outerNoAttribute() #0
; CHECK: define void @outerConflictingAttribute() #1
; CHECK: attributes #0 = { "probe-stack"="__probestackinner" }
; CHECK: attributes #1 = { "probe-stack"="__probestackouter" }