[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/2005-06-15-DivSelectCrash.ll
Chris Lattner
lattner at cs.uiuc.edu
Wed Jun 15 21:55:40 PDT 2005
Changes in directory llvm/test/Regression/Transforms/InstCombine:
2005-06-15-DivSelectCrash.ll added (r1.1)
---
Log message:
new testcase for PR583: http://llvm.cs.uiuc.edu/PR583
---
Diffs of the changes: (+9 -0)
2005-06-15-DivSelectCrash.ll | 9 +++++++++
1 files changed, 9 insertions(+)
Index: llvm/test/Regression/Transforms/InstCombine/2005-06-15-DivSelectCrash.ll
diff -c /dev/null llvm/test/Regression/Transforms/InstCombine/2005-06-15-DivSelectCrash.ll:1.1
*** /dev/null Wed Jun 15 23:55:39 2005
--- llvm/test/Regression/Transforms/InstCombine/2005-06-15-DivSelectCrash.ll Wed Jun 15 23:55:29 2005
***************
*** 0 ****
--- 1,9 ----
+ ; RUN: llvm-as < %s | opt -instcombine -disable-output
+
+ int %_Z13func_31585107li(int %l_39521025, int %l_59244666) {
+ %shortcirc_val = select bool false, uint 1, uint 0 ; <uint> [#uses=1]
+ %tmp.8 = div uint 0, %shortcirc_val ; <uint> [#uses=1]
+ %tmp.9 = seteq uint %tmp.8, 0 ; <bool> [#uses=1]
+ %retval = select bool %tmp.9, int %l_59244666, int -1621308501 ; <int> [#uses=1]
+ ret int %retval
+ }
More information about the llvm-commits
mailing list