[llvm-commits] CVS: llvm/test/Regression/Jello/2003-08-04-PhysRegLiveFailure.llx

Chris Lattner lattner at cs.uiuc.edu
Mon Aug 4 18:37:01 PDT 2003


Changes in directory llvm/test/Regression/Jello:

2003-08-04-PhysRegLiveFailure.llx added (r1.1)

---
Log message:

New testcase, identified by Vikram, reduced by Brian


---
Diffs of the changes:

Index: llvm/test/Regression/Jello/2003-08-04-PhysRegLiveFailure.llx
diff -c /dev/null llvm/test/Regression/Jello/2003-08-04-PhysRegLiveFailure.llx:1.1
*** /dev/null	Mon Aug  4 18:28:54 2003
--- llvm/test/Regression/Jello/2003-08-04-PhysRegLiveFailure.llx	Mon Aug  4 18:28:44 2003
***************
*** 0 ****
--- 1,15 ----
+ ; RUN: as < %s | llc -march=x86 
+ 
+ target endian = big         ; We need the byteswaps for this test!
+ target pointersize = 64
+ 
+ implementation
+ 
+ long %main(long %s.1, long %e.1, ushort* %foo) {
+ 	%tmp.28 = load ushort* %foo
+ 	%tmp.39 = cast uint 0 to ushort*
+ 	%tmp.42 = sub long %e.1, %s.1
+ 	%tmp.441 = setge long %tmp.42, 0
+ 	%tmp.54 = getelementptr ushort* %tmp.39, long 0
+ 	ret long %s.1
+ }





More information about the llvm-commits mailing list