• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; PR1271
2; RUN: opt < %s -instcombine -S | grep and
3define i1 @test(i32 %tmp13) {
4entry:
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