]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/blob - test/Transforms/InstCombine/2007-01-27-AndICmp.ll
[canonicalize] Teach InstCombine to canonicalize loads which are only
[opencl/llvm.git] / test / Transforms / InstCombine / 2007-01-27-AndICmp.ll
1 ; RUN: opt < %s -instcombine -S | grep "ugt.*, 1"
3 define i1 @test(i32 %tmp1030) {
4         %tmp1037 = icmp ne i32 %tmp1030, 39             ; <i1> [#uses=1]
5         %tmp1039 = icmp ne i32 %tmp1030, 40             ; <i1> [#uses=1]
6         %tmp1042 = and i1 %tmp1037, %tmp1039            ; <i1> [#uses=1]
7         ret i1 %tmp1042
8 }