1 ; RUN: llc < %s -march=thumb | FileCheck %s
6 %buf = alloca [32 x i32], align 4
7 %tmp = getelementptr [32 x i32]* %buf, i32 0, i32 0
16 %buf = alloca [32 x i8], align 4
17 %tmp = getelementptr [32 x i8]* %buf, i32 0, i32 0
19 %tmp2 = zext i8 %tmp1 to i32
26 %buf = alloca [32 x i32], align 4
27 %tmp = getelementptr [32 x i32]* %buf, i32 0, i32 32
28 %tmp1 = load i32* %tmp
36 %buf = alloca [32 x i8], align 4
37 %tmp = getelementptr [32 x i8]* %buf, i32 0, i32 2
39 %tmp2 = zext i8 %tmp1 to i32