Sign in
llvm
/
llvm-project
/
0e85232fa39dbe54b13b40320460dd4f945b29fd
/
.
/
llvm
/
test
/
Transforms
/
ADCE
/
2002-01-31-UseStuckAround.ll
blob: 3032c6fd1a21b752df8f8c143a334c4c3bc49d4c [
file
] [
log
] [
blame
]
; RUN: opt < %s -passes=adce
define
i32
@
"main"
(
i32
%argc
)
{
br
label
%2
%retval
=
phi
i32
[
%argc
,
%2
]
; <i32> [#uses=2]
%two
=
add
i32
%retval
,
%retval
; <i32> [#uses=1]
ret
i32
%two
br
label
%1
}