1 ; RUN: llc -mtriple=arm-eabi -mattr=+v4t %s -o - | FileCheck %s
6 %buf = alloca [32 x i32], align 4
7 %tmp = getelementptr [32 x i32], [32 x i32]* %buf, i32 0, i32 0
8 %tmp1 = load i32, i32* %tmp
15 %buf = alloca [32 x i8], align 4
16 %tmp = getelementptr [32 x i8], [32 x i8]* %buf, i32 0, i32 0
17 %tmp1 = load i8, i8* %tmp
18 %tmp2 = zext i8 %tmp1 to i32
25 %buf = alloca [32 x i32], align 4
26 %tmp = getelementptr [32 x i32], [32 x i32]* %buf, i32 0, i32 32
27 %tmp1 = load i32, i32* %tmp
34 %buf = alloca [32 x i8], align 4
35 %tmp = getelementptr [32 x i8], [32 x i8]* %buf, i32 0, i32 2
36 %tmp1 = load i8, i8* %tmp
37 %tmp2 = zext i8 %tmp1 to i32