[SimplifyLibCalls] Remove useless bits of this tests.
[oota-llvm.git] / test / Transforms / InstCombine / 2008-01-13-NoBitCastAttributes.ll
1 ; RUN: opt < %s -instcombine -S | grep bitcast | count 2
2
3 define signext i32 @b(i32* inreg  %x)   {
4         ret i32 0
5 }
6
7 define void @c(...) {
8         ret void
9 }
10
11 define void @g(i32* %y) {
12         call i32 bitcast (i32 (i32*)* @b to i32 (i32)*)( i32 zeroext  0 )               ; <i32>:2 [#uses=0]
13         call void bitcast (void (...)* @c to void (i32*)*)( i32* sret  null )
14         ret void
15 }