repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git]
/
test
/
Transforms
/
InstCombine
/
urem.ll
blob
51084224a734a29c20c0111f80d58b9b94244fd0
1
; RUN: opt < %s -instcombine -S | grep urem
2
3
define i64 @rem_unsigned(i64 %x1, i64 %y2) {
4
%r = udiv i64 %x1, %y2
5
%r7 = mul i64 %r, %y2
6
%r8 = sub i64 %x1, %r7
7
ret i64 %r8
8
}