1 ; RUN: llvm-as < %s | opt -lowerconstantexprs -disable-output
3 %.str_1 = internal constant [16 x sbyte] c"%d %d %d %d %d\0A\00"
5 %XA = external global int
6 %XB = external global int
8 implementation ; Functions:
10 declare int %printf(sbyte*, ...)
12 void %test(int %A, int %B, int %C, int %D) {
15 br bool %t1, label %less, label %not_less
19 %t2 = phi int [ sub ( int cast (int* %XA to int),
20 int cast (int* %XB to int) ), %less],
21 [ sub ( int cast (int* %XA to int),
22 int cast (int* %XB to int) ), %entry]
23 %tmp.39 = call int (sbyte*, ...)* %printf( sbyte* getelementptr ([16 x sbyte]* %.str_1, long 0, long 0), int %t2 )