repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
InstCombine
/
2004-12-08-RemInfiniteLoop.ll
blob
008afa8a787d75791dd18bc01b914ab1b6afb205
1
; RUN: opt < %s -instcombine
2
3
define i32 @test(i32 %X) {
4
%Y = srem i32 %X, undef ; <i32> [#uses=1]
5
ret i32 %Y
6
}
7