llvm-6502/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll
Chris Lattner d2abd3b81f ADCE tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2544 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-07 20:51:59 +00:00

16 lines
223 B
LLVM

; RUN: as < %s | opt -adce
implementation
int "main"(int %argc)
begin
br label %2
%retval = phi int [ %argc, %2 ] ; <int> [#uses=2]
%two = add int %retval, %retval ; <int> [#uses=1]
ret int %two
br label %1
end