[llvm-commits] CVS: llvm/test/Regression/LLC/2003-07-07-BadLongConst.ll

Vikram Adve vadve at cs.uiuc.edu
Thu Jul 10 14:33:01 PDT 2003


Changes in directory llvm/test/Regression/LLC:

2003-07-07-BadLongConst.ll added (r1.1)

---
Log message:

(null)

---
Diffs of the changes:

Index: llvm/test/Regression/LLC/2003-07-07-BadLongConst.ll
diff -c /dev/null llvm/test/Regression/LLC/2003-07-07-BadLongConst.ll:1.1
*** /dev/null	Thu Jul 10 14:32:48 2003
--- llvm/test/Regression/LLC/2003-07-07-BadLongConst.ll	Thu Jul 10 14:32:38 2003
***************
*** 0 ****
--- 1,22 ----
+ target endian = big
+ target pointersize = 64
+ 
+ %.str_1 = internal constant [42 x sbyte] c"   ui = %u (0x%x)\09\09UL-ui = %lld (0x%llx)\0A\00"
+ 
+ implementation   ; Functions:
+ 
+ declare int %printf(sbyte*, ...)
+ 
+ internal ulong %getL() {
+ entry:          ; No predecessors!
+         ret ulong 12659530247033960611
+ }
+ 
+ int %main(int %argc.1, sbyte** %argv.1) {
+ entry:          ; No predecessors!
+         %tmp.11 = call ulong %getL( )
+         %tmp.5 = cast ulong %tmp.11 to uint
+         %tmp.23 = and ulong %tmp.11, 18446744069414584320
+         %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 )
+         ret int 0
+ }





More information about the llvm-commits mailing list