projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Allow readonly functions to unwind exceptions. Teach
[oota-llvm.git]
/
test
/
Transforms
/
ADCE
/
2002-01-31-UseStuckAround.ll
1
; RUN: llvm-as %s -o - | opt -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