1 ; RUN: llc -mtriple=arm-eabi -mattr=+v4t %s -o - | FileCheck %s
4 %buf = alloca [32 x i32], align 4
5 %tmp = getelementptr [32 x i32], [32 x i32]* %buf, i32 0, i32 0
6 %tmp1 = load i32, i32* %tmp
11 %buf = alloca [32 x i8], align 4
12 %tmp = getelementptr [32 x i8], [32 x i8]* %buf, i32 0, i32 0
13 %tmp1 = load i8, i8* %tmp
14 %tmp2 = zext i8 %tmp1 to i32
19 %buf = alloca [32 x i32], align 4
20 %tmp = getelementptr [32 x i32], [32 x i32]* %buf, i32 0, i32 32
21 %tmp1 = load i32, i32* %tmp
26 %buf = alloca [32 x i8], align 4
27 %tmp = getelementptr [32 x i8], [32 x i8]* %buf, i32 0, i32 2
28 %tmp1 = load i8, i8* %tmp
29 %tmp2 = zext i8 %tmp1 to i32