repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
When removing a function from the function set and adding it to deferred, we
[llvm.git]
/
test
/
Transforms
/
InstCombine
/
srem.ll
blob
beefe4fb8d3fa712a0e895a83c9382a53bef0131
1
; RUN: opt < %s -instcombine -S | grep srem
2
3
define i64 @foo(i64 %x1, i64 %y2) {
4
%r = sdiv i64 %x1, %y2
5
%r7 = mul i64 %r, %y2
6
%r8 = sub i64 %x1, %r7
7
ret i64 %r8
8
}