[RS4GC] Fix rematerialization of bitcast of bitcast.
[oota-llvm.git] / test / Transforms / Inline / 2004-04-15-InlineDeletesCall.ll
1 ; RUN: opt < %s -inline -disable-output
2
3 ; Inlining the first call caused the inliner function to delete the second
4 ; call.  Then the inliner tries to inline the second call, which no longer
5 ; exists.
6
7 define internal void @Callee1() {
8         unreachable
9 }
10
11 define void @Callee2() {
12         ret void
13 }
14
15 define void @caller() {
16         call void @Callee1( )
17         call void @Callee2( )
18         ret void
19 }
20