Sign in
llvm
/
llvm-project
/
llvm
/
b72b4128f221fd5086a1ae46aba7b2fcbf0d6384
/
.
/
test
/
Transforms
/
InstCombine
/
2008-02-13-MulURem.ll
blob: 5bc01f220b9c74888315d0ae8a50db303c52a9b2 [
file
] [
log
] [
blame
]
; RUN: opt < %s -passes=instcombine -S | FileCheck %s
; PR1933
; CHECK: rem
define
i32
@fold
(
i32
%a
)
{
%s
=
mul
i32
%a
,
3
%c
=
urem
i32
%s
,
3
ret
i32
%c
}