[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/2005-05-07-UDivSelectCrash.ll

Chris Lattner lattner at cs.uiuc.edu
Thu Apr 7 20:58:37 PDT 2005



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

2005-05-07-UDivSelectCrash.ll added (r1.1)
---
Log message:

new testcase that crashes the instcombiner.


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

 2005-05-07-UDivSelectCrash.ll |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/test/Regression/Transforms/InstCombine/2005-05-07-UDivSelectCrash.ll
diff -c /dev/null llvm/test/Regression/Transforms/InstCombine/2005-05-07-UDivSelectCrash.ll:1.1
*** /dev/null	Thu Apr  7 22:58:31 2005
--- llvm/test/Regression/Transforms/InstCombine/2005-05-07-UDivSelectCrash.ll	Thu Apr  7 22:58:21 2005
***************
*** 0 ****
--- 1,7 ----
+ ; RUN: llvm-as < %s | opt -instcombine -disable-output
+ 
+ uint %test(bool %C, uint %tmp.15) {
+ 	%tmp.16 = select bool %C, uint 8, uint 1
+ 	%tmp.18 = div uint %tmp.15, %tmp.16
+ 	ret uint %tmp.18
+ }






More information about the llvm-commits mailing list