fix rdar://9289583 - fast isel should handle non-canonical commutative binops
[oota-llvm.git] / test / Transforms / ADCE / 2002-01-31-UseStuckAround.ll
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