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-04-04-InstCombineReplaceAllUsesWith.ll
blob
84f9bad69d8d8513afd383a4eaf9605f34bb73b1
1
; RUN: opt < %s -instcombine -disable-output
2
3
define i32 @test() {
4
ret i32 0
5
6
Loop: ; preds = %Loop
7
%X = add i32 %X, 1 ; <i32> [#uses=1]
8
br label %Loop
9
}
10