aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/Inline/noinline.ll
blob: dc3f6e003094aaa7ea9ce2656fbe9ed1a6595eb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
; RUN: opt %s -inline -S | FileCheck %s
; PR6682
declare void @foo() nounwind

define void @bar() nounwind {
entry:
    tail call void @foo() nounwind
    ret void
}

define void @bazz() nounwind {
entry:
    tail call void @bar() nounwind noinline
    ret void
}

; CHECK: define void @bazz()
; CHECK: call void @bar()