aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Transforms/Inline/noinline.ll
blob: 936d46f6c034a64b70b507e6835e35552f370411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
; RUN: opt -passes=inline -S < %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()