[llvm-commits] CVS: llvm/test/Transforms/InstCombine/2007-03-13-CompareMerge.ll
Chris Lattner
sabre at nondot.org
Tue Mar 13 07:25:54 PDT 2007
Changes in directory llvm/test/Transforms/InstCombine:
2007-03-13-CompareMerge.ll added (r1.1)
---
Log message:
testcase for PR1244: http://llvm.org/PR1244
---
Diffs of the changes: (+9 -0)
2007-03-13-CompareMerge.ll | 9 +++++++++
1 files changed, 9 insertions(+)
Index: llvm/test/Transforms/InstCombine/2007-03-13-CompareMerge.ll
diff -c /dev/null llvm/test/Transforms/InstCombine/2007-03-13-CompareMerge.ll:1.1
*** /dev/null Tue Mar 13 09:25:45 2007
--- llvm/test/Transforms/InstCombine/2007-03-13-CompareMerge.ll Tue Mar 13 09:25:35 2007
***************
*** 0 ****
--- 1,9 ----
+ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep 'icmp sle'
+ ; PR1244
+
+ define i1 @test(i32 %c.3.i, i32 %d.292.2.i) {
+ %tmp266.i = icmp slt i32 %c.3.i, %d.292.2.i
+ %tmp276.i = icmp eq i32 %c.3.i, %d.292.2.i
+ %sel_tmp80 = or i1 %tmp266.i, %tmp276.i
+ ret i1 %sel_tmp80
+ }
More information about the llvm-commits
mailing list