projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[InstCombine] Remove redundant @llvm.assume intrinsics
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2008-02-13-MulURem.ll
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
}