[llvm-commits] CVS: llvm/test/Regression/CodeGen/Generic/2004-05-09-LiveVarPartialRegister.llx

Chris Lattner lattner at cs.uiuc.edu
Mon May 10 00:11:04 PDT 2004


Changes in directory llvm/test/Regression/CodeGen/Generic:

2004-05-09-LiveVarPartialRegister.llx added (r1.1)

---
Log message:

Testcase for PR337: http://llvm.cs.uiuc.edu/PR337 , which was reduced by Reid Spencer.


---
Diffs of the changes:  (+15 -0)

Index: llvm/test/Regression/CodeGen/Generic/2004-05-09-LiveVarPartialRegister.llx
diff -c /dev/null llvm/test/Regression/CodeGen/Generic/2004-05-09-LiveVarPartialRegister.llx:1.1
*** /dev/null	Mon May 10 00:11:34 2004
--- llvm/test/Regression/CodeGen/Generic/2004-05-09-LiveVarPartialRegister.llx	Mon May 10 00:11:24 2004
***************
*** 0 ****
--- 1,15 ----
+ ; RUN: llvm-as < %s | lli
+ 
+ %global_long_1 = linkonce global long 7
+ %global_long_2 = linkonce global long 49
+ 
+ implementation   ; Functions:
+ 
+ int %main() {
+         %l1 = load long* %global_long_1
+         %l2 = load long* %global_long_2
+         %cond = setle long %l1, %l2
+         %cast2 = cast bool %cond to int
+ 	%RV = sub int 1, %cast2
+         ret int %RV
+ }





More information about the llvm-commits mailing list