[llvm-commits] CVS: llvm/test/Regression/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll

Chris Lattner lattner at cs.uiuc.edu
Tue Aug 12 16:37:01 PDT 2003


Changes in directory llvm/test/Regression/Transforms/Reassociate:

2003-08-12-InfiniteLoop.ll added (r1.1)

---
Log message:

new testcase


---
Diffs of the changes:

Index: llvm/test/Regression/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll
diff -c /dev/null llvm/test/Regression/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll:1.1
*** /dev/null	Tue Aug 12 16:36:05 2003
--- llvm/test/Regression/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll	Tue Aug 12 16:35:55 2003
***************
*** 0 ****
--- 1,10 ----
+ ; RUN: as < %s | opt -reassociate -disable-output
+ 
+ implementation   ; Functions:
+ 
+ int %test(int %A.1, int %B.1, int %C.1, int %D.1) {
+ 	%tmp.16 = and int %A.1, %B.1		; <int> [#uses=1]
+ 	%tmp.18 = and int %tmp.16, %C.1		; <int> [#uses=1]
+ 	%tmp.20 = and int %tmp.18, %D.1		; <int> [#uses=1]
+ 	ret int %tmp.20
+ }





More information about the llvm-commits mailing list