Home | History | Annotate | Download | only in InstCombine
      1 ; PR1271
      2 ; RUN: opt < %s -instcombine -S | grep and
      3 define i1 @test(i32 %tmp13) {
      4 entry:
      5 	%tmp14 = shl i32 %tmp13, 12		; <i32> [#uses=1]
      6 	%tmp15 = lshr i32 %tmp14, 12		; <i32> [#uses=1]
      7 	%res = icmp ne i32 %tmp15, 0		; <i1>:3 [#uses=1]
      8         ret i1 %res
      9 }
     10