1; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis 2; RUN: verify-uselistorder %s 3; PR2480 4 5define i32 @test(i32 %X) nounwind { 6entry: 7 %X_addr = alloca i32 ; <i32*> [#uses=2] 8 %retval = alloca i32 ; <i32*> [#uses=2] 9 %0 = alloca i32 ; <i32*>:0 [#uses=2] 10 %"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0] 11 store i32 %X, i32* %X_addr 12 %1 = load i32, i32* %X_addr, align 4 ; <i32>:1 [#uses=1] 13 mul i32 %1, 4 ; <i32>:2 [#uses=1] 14 %3 = add i32 %2, 123 ; <i32>:3 [#uses=1] 15 store i32 %3, i32* %0, align 4 16 ret i32 %3 17} 18