[llvm-commits] CVS: llvm/test/Regression/CodeGen/Generic/2005-01-18-SetUO-InfLoop.ll

Chris Lattner lattner at cs.uiuc.edu
Wed Jan 18 11:13:23 PST 2006



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

2005-01-18-SetUO-InfLoop.ll added (r1.1)
---
Log message:

this testcase sent the dag combiner spinning into an infinite loop


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

 2005-01-18-SetUO-InfLoop.ll |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+)


Index: llvm/test/Regression/CodeGen/Generic/2005-01-18-SetUO-InfLoop.ll
diff -c /dev/null llvm/test/Regression/CodeGen/Generic/2005-01-18-SetUO-InfLoop.ll:1.1
*** /dev/null	Wed Jan 18 13:13:21 2006
--- llvm/test/Regression/CodeGen/Generic/2005-01-18-SetUO-InfLoop.ll	Wed Jan 18 13:13:11 2006
***************
*** 0 ****
--- 1,19 ----
+ ; RUN: llvm-as < %s | llc
+ 
+ void %intersect_pixel() {
+ entry:
+ 	%tmp125 = call bool %llvm.isunordered.f64( double 0.000000e+00, double 0.000000e+00 )		; <bool> [#uses=1]
+ 	%tmp126 = or bool %tmp125, false		; <bool> [#uses=1]
+ 	%tmp126.not = xor bool %tmp126, true		; <bool> [#uses=1]
+ 	%brmerge1 = or bool %tmp126.not, false		; <bool> [#uses=1]
+ 	br bool %brmerge1, label %bb154, label %cond_false133
+ 
+ cond_false133:		; preds = %entry
+ 	ret void
+ 
+ bb154:		; preds = %entry
+ 	%tmp164 = seteq uint 0, 0		; <bool> [#uses=0]
+ 	ret void
+ }
+ 
+ declare bool %llvm.isunordered.f64(double, double)






More information about the llvm-commits mailing list