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
fix a globalopt crash on two Adobe-C++ testcases that the recent
[llvm.git]
/
test
/
Transforms
/
ADCE
/
2002-01-31-UseStuckAround.ll
blob
43462faa47f637fd48b0d1e1c9190b79d8e33b6d
1
; RUN: opt < %s -adce
2
3
define i32 @"main"(i32 %argc)
4
begin
5
br label %2
6
7
%retval = phi i32 [ %argc, %2 ] ; <i32> [#uses=2]
8
%two = add i32 %retval, %retval ; <i32> [#uses=1]
9
ret i32 %two
10
11
br label %1
12
end
13