Eric Christopher | f27e608 | 2010-03-25 04:49:10 +0000 | [diff] [blame] | 1 | ; RUN: opt %s -inline -S | FileCheck %s |
2 | ; PR6682 | ||||
3 | declare void @foo() nounwind | ||||
4 | |||||
5 | define void @bar() nounwind { | ||||
6 | entry: | ||||
7 | tail call void @foo() nounwind | ||||
8 | ret void | ||||
9 | } | ||||
10 | |||||
11 | define void @bazz() nounwind { | ||||
12 | entry: | ||||
13 | tail call void @bar() nounwind noinline | ||||
14 | ret void | ||||
15 | } | ||||
16 | |||||
17 | ; CHECK: define void @bazz() | ||||
18 | ; CHECK: call void @bar() |