1 ; RUN: llc -mtriple=thumb-eabi %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
16 %buf = alloca [32 x i8], align 4
17 %tmp = getelementptr [32 x i8], [32 x i8]* %buf, i32 0, i32 0
18 %tmp1 = load i8, i8* %tmp
19 %tmp2 = zext i8 %tmp1 to i32
26 %buf = alloca [32 x i32], align 4
27 %tmp = getelementptr [32 x i32], [32 x i32]* %buf, i32 0, i32 32
28 %tmp1 = load i32, i32* %tmp
36 %buf = alloca [32 x i8], align 4
37 %tmp = getelementptr [32 x i8], [32 x i8]* %buf, i32 0, i32 2
38 %tmp1 = load i8, i8* %tmp
39 %tmp2 = zext i8 %tmp1 to i32