Sign in
swiftshader
/
SwiftShader
/
d7622ffdd25e2d6f51d14d07b6f298de6842d842
/
.
/
third_party
/
LLVM
/
test
/
Transforms
/
InstCombine
/
2007-03-25-DoubleShift.ll
blob: ac38dfeb1b5c9a562877e5e2b1004c4e0be281d5 [
file
] [
log
] [
blame
]
; PR1271
; RUN: opt < %s -instcombine -S | grep and
define
i1
@test
(
i32
%tmp13
)
{
entry
:
%tmp14
=
shl
i32
%tmp13
,
12
; <i32> [#uses=1]
%tmp15
=
lshr
i32
%tmp14
,
12
; <i32> [#uses=1]
%res
=
icmp
ne
i32
%tmp15
,
0
; <i1>:3 [#uses=1]
ret
i1
%res
}