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