[RS4GC] Fix rematerialization of bitcast of bitcast.
[oota-llvm.git] / test / Transforms / Inline / noinline.ll
1 ; RUN: opt -inline -S < %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()