2 ; RUN: llvm-upgrade < %s &&
3 ; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f &&
4 ; RUN: llvm-upgrade < %s | grep 'tmp = alloca' | wc -l | grep 1
6 target datalayout = "e-p:32:32"
8 target pointersize = 32
9 target triple = "i686-pc-linux-gnu"
11 implementation ; Functions:
15 %tmp = alloca uint, align 4 ; <uint*> [#uses=1]
16 %tmp = alloca int, align 4 ; <int*> [#uses=1]
17 "alloca point" = cast int 0 to int ; <int> [#uses=0]
18 store uint 1, uint* %tmp
19 store int 2, int* %tmp