Sign in
ara-mdk
/
platform
/
external
/
llvm
/
d8bfde0c6a4fad3b8846af4e4d19d9a3cbbce0b2
/
.
/
test
/
Transforms
/
InstCombine
/
2008-02-13-MulURem.ll
blob: a88c510972475872cac31e40375651d39b6088d1 [
file
] [
log
] [
blame
]
; RUN: opt < %s -instcombine -S | grep rem
; PR1933
define
i32
@fold
(
i32
%a
)
{
%s
=
mul
i32
%a
,
3
%c
=
urem
i32
%s
,
3
ret
i32
%c
}