Changes in directory llvm/test/Transforms/InstCombine:
2007-01-27-AndICmp.ll added (r1.1) --- Log message: Testcase for an instcombine miscompilation reduced by Anton. --- Diffs of the changes: (+8 -0) 2007-01-27-AndICmp.ll | 8 ++++++++ 1 files changed, 8 insertions(+) Index: llvm/test/Transforms/InstCombine/2007-01-27-AndICmp.ll diff -c /dev/null llvm/test/Transforms/InstCombine/2007-01-27-AndICmp.ll:1.1 *** /dev/null Sat Jan 27 17:07:22 2007 --- llvm/test/Transforms/InstCombine/2007-01-27-AndICmp.ll Sat Jan 27 17:07:12 2007 *************** *** 0 **** --- 1,8 ---- + ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep "ugt.*, 1" + + define i1 @test(i32 %tmp1030) { + %tmp1037 = icmp ne i32 %tmp1030, 40 ; <i1> [#uses=1] + %tmp1039 = icmp ne i32 %tmp1030, 41 ; <i1> [#uses=1] + %tmp1042 = and i1 %tmp1037, %tmp1039 ; <i1> [#uses=1] + ret i1 %tmp1042 + } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits