blob: 13708ef673e90b9c8fbd27fc00cf987aaa3d728e [file] [log] [blame]
Tanya Lattner2393a242004-11-06 23:08:26 +00001; RUN: llvm-as -f %s -o - | llc
2
Vikram S. Adve7172a592003-07-10 19:32:38 +00003
4%.str_1 = internal constant [42 x sbyte] c" ui = %u (0x%x)\09\09UL-ui = %lld (0x%llx)\0A\00"
5
6implementation ; Functions:
7
8declare int %printf(sbyte*, ...)
9
10internal ulong %getL() {
11entry: ; No predecessors!
12 ret ulong 12659530247033960611
13}
14
15int %main(int %argc.1, sbyte** %argv.1) {
16entry: ; No predecessors!
17 %tmp.11 = call ulong %getL( )
18 %tmp.5 = cast ulong %tmp.11 to uint
19 %tmp.23 = and ulong %tmp.11, 18446744069414584320
20 %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 )
21 ret int 0
22}