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
/
ADCE
/
2002-01-31-UseStuckAround.ll
blob
8910bdade372b786f4fd985fcaf92a64d8766c60
1
; RUN: opt < %s -adce
2
3
define i32 @"main"(i32 %argc) {
4
br label %2
5
6
%retval = phi i32 [ %argc, %2 ] ; <i32> [#uses=2]
7
%two = add i32 %retval, %retval ; <i32> [#uses=1]
8
ret i32 %two
9
10
br label %1
11
}