Sign in
android
/
platform
/
external
/
llvm
/
b95aeef86e46ce32b198ac1e4bae4e842aa028e8
/
.
/
test
/
Transforms
/
InstCombine
/
2008-02-13-MulURem.ll
blob: d85ef97553abab3b804a3bc4f786e66ec3be7311 [
file
] [
log
] [
blame
]
; RUN: opt < %s -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
}