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 } 16