Add a small missed optimization: turn X == C ? X : Y into X == C ? C : Y. This
[llvm/stm8.git] / test / Integer / testvarargs_bt.ll
blob3227d145392e2b4c6452e41b61fd301298652f57
1 ; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
2 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3 ; RUN: diff %t1.ll %t2.ll
6 declare i31 @"printf"(i8*, ...)   ;; Prototype for: i32 __builtin_printf(const char*, ...)
8 define i31 @"testvarar"()
9 begin
10         call i31(i8*, ...) *@printf(i8 * null, i31 12, i8 42)
11         ret i31 %1
12 end