repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] Better OR's for MVE compares
[llvm-core.git]
/
test
/
Transforms
/
InstCombine
/
2008-02-13-MulURem.ll
blob
d85ef97553abab3b804a3bc4f786e66ec3be7311
1
; RUN: opt < %s -instcombine -S | FileCheck %s
2
; PR1933
3
4
; CHECK: rem
5
6
define i32 @fold(i32 %a) {
7
%s = mul i32 %a, 3
8
%c = urem i32 %s, 3
9
ret i32 %c
10
}