brintos

brintos / llvm-project-archived public Read only

0
0
Text · 788 B · 2a41b25 Raw
38 lines · plain
1; RUN: llc -mtriple=arm-eabi -mattr=+v4t %s -o - | FileCheck %s2 3; CHECK-LABEL: f14; CHECK-NOT: mov5define i32 @f1() {6	%buf = alloca [32 x i32], align 47	%tmp1 = load i32, ptr %buf8	ret i32 %tmp19}10 11; CHECK-LABEL: f212; CHECK-NOT: mov13define i32 @f2() {14	%buf = alloca [32 x i8], align 415	%tmp1 = load i8, ptr %buf16        %tmp2 = zext i8 %tmp1 to i3217	ret i32 %tmp218}19 20; CHECK-LABEL: f321; CHECK-NOT: mov22define i32 @f3() {23	%buf = alloca [32 x i32], align 424	%tmp = getelementptr [32 x i32], ptr %buf, i32 0, i32 3225	%tmp1 = load i32, ptr %tmp26	ret i32 %tmp127}28 29; CHECK-LABEL: f430; CHECK-NOT: mov31define i32 @f4() {32	%buf = alloca [32 x i8], align 433	%tmp = getelementptr [32 x i8], ptr %buf, i32 0, i32 234	%tmp1 = load i8, ptr %tmp35        %tmp2 = zext i8 %tmp1 to i3236	ret i32 %tmp237}38