Adding RUN lines.
[oota-llvm.git] / test / CodeGen / Generic / 2003-07-07-BadLongConst.ll
1 ; RUN: llvm-as -f %s -o - | llc
2
3 target endian = big
4 target pointersize = 64
5
6 %.str_1 = internal constant [42 x sbyte] c"   ui = %u (0x%x)\09\09UL-ui = %lld (0x%llx)\0A\00"
7
8 implementation   ; Functions:
9
10 declare int %printf(sbyte*, ...)
11
12 internal ulong %getL() {
13 entry:          ; No predecessors!
14         ret ulong 12659530247033960611
15 }
16
17 int %main(int %argc.1, sbyte** %argv.1) {
18 entry:          ; No predecessors!
19         %tmp.11 = call ulong %getL( )
20         %tmp.5 = cast ulong %tmp.11 to uint
21         %tmp.23 = and ulong %tmp.11, 18446744069414584320
22         %tmp.16 = call int (sbyte*, ...)* %printf( sbyte* getelementptr ([42 x sbyte]* %.str_1, long 0, long 0), uint %tmp.5, uint %tmp.5, ulong %tmp.23, ulong %tmp.23 )
23         ret int 0
24 }