Sign in
llvm
/
llvm
/
refs/heads/release_26
/
.
/
test
/
Transforms
/
InstCombine
/
2009-06-16-SRemDemandedBits.ll
blob: 82b223a4ddc9469e2489e622baca44fd5c921f90 [
file
] [
log
] [
blame
]
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep srem
; PR3439
define
i32
@a
(
i32
%x
)
nounwind
{
entry
:
%rem
=
srem
i32
%x
,
2
%and
=
and
i32
%rem
,
2
ret
i32
%and
}