13 lines · plain
1; RUN: opt < %s -passes=instcombine -S | not grep bitcast2; PR17163 4@.str = internal constant [4 x i8] c"%d\0A\00" ; <ptr> [#uses=1]5 6define i32 @main(i32 %argc, ptr %argv) {7entry:8 %tmp32 = tail call i32 (ptr , ...) @printf( ptr @.str , i32 0 ) nounwind ; <i32> [#uses=0]9 ret i32 undef10}11 12declare i32 @printf(ptr, ...) nounwind 13