[llvm-commits] CVS: llvm/test/Transforms/InstCombine/2007-06-21-DivCompareMiscomp.ll
Chris Lattner
sabre at nondot.org
Thu Jun 21 11:09:47 PDT 2007
Changes in directory llvm/test/Transforms/InstCombine:
2007-06-21-DivCompareMiscomp.ll added (r1.1)
---
Log message:
new testcase miscompiled by instcombine, reduced from perl
---
Diffs of the changes: (+9 -0)
2007-06-21-DivCompareMiscomp.ll | 9 +++++++++
1 files changed, 9 insertions(+)
Index: llvm/test/Transforms/InstCombine/2007-06-21-DivCompareMiscomp.ll
diff -c /dev/null llvm/test/Transforms/InstCombine/2007-06-21-DivCompareMiscomp.ll:1.1
*** /dev/null Thu Jun 21 13:09:35 2007
--- llvm/test/Transforms/InstCombine/2007-06-21-DivCompareMiscomp.ll Thu Jun 21 13:09:25 2007
***************
*** 0 ****
--- 1,9 ----
+ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i1 true}
+ ; rdar://5278853
+
+ define i1 @test(i32 %tmp468) {
+ %tmp470 = udiv i32 %tmp468, 4 ; <i32> [#uses=2]
+ %tmp475 = icmp ult i32 %tmp470, 1073741824 ; <i1> [#uses=1]
+ ret i1 %tmp475
+ }
+
More information about the llvm-commits
mailing list