[llvm-commits] CVS: llvm/test/Regression/CodeGen/Generic/2005-10-21-longlonggtu.ll

Chris Lattner lattner at cs.uiuc.edu
Fri Oct 21 14:09:25 PDT 2005



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

2005-10-21-longlonggtu.ll added (r1.1)
---
Log message:

New testcase that crashes the ppc backend



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

 2005-10-21-longlonggtu.ll |   12 ++++++++++++
 1 files changed, 12 insertions(+)


Index: llvm/test/Regression/CodeGen/Generic/2005-10-21-longlonggtu.ll
diff -c /dev/null llvm/test/Regression/CodeGen/Generic/2005-10-21-longlonggtu.ll:1.1
*** /dev/null	Fri Oct 21 16:09:24 2005
--- llvm/test/Regression/CodeGen/Generic/2005-10-21-longlonggtu.ll	Fri Oct 21 16:09:14 2005
***************
*** 0 ****
--- 1,12 ----
+ ; RUN: llvm-as < %s | llc
+ float %t(long %u) {
+ 	%u = cast long %u to ulong		; <ulong> [#uses=1]
+ 	%tmp5 = add ulong %u, 9007199254740991		; <ulong> [#uses=1]
+ 	%tmp = setgt ulong %tmp5, 18014398509481982		; <bool> [#uses=1]
+ 	br bool %tmp, label %T, label %F
+ T:
+ 	ret float 1.0
+ F:
+ 	call float %t(long 0)
+ 	ret float 0.0
+ }






More information about the llvm-commits mailing list