blob: 7667114b68e66ae15ac5633427ab9d2f863cc7b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
; RUN: opt -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()
|