summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/ldr_frame.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/ldr_frame.ll')
-rw-r--r--test/CodeGen/ARM/ldr_frame.ll11
1 files changed, 8 insertions, 3 deletions
diff --git a/test/CodeGen/ARM/ldr_frame.ll b/test/CodeGen/ARM/ldr_frame.ll
index 01b18bccc337f..24c10b42a445a 100644
--- a/test/CodeGen/ARM/ldr_frame.ll
+++ b/test/CodeGen/ARM/ldr_frame.ll
@@ -1,5 +1,7 @@
; RUN: llc -mtriple=arm-eabi -mattr=+v4t %s -o - | FileCheck %s
+; CHECK-LABEL: f1
+; CHECK-NOT: mov
define i32 @f1() {
%buf = alloca [32 x i32], align 4
%tmp = getelementptr [32 x i32], [32 x i32]* %buf, i32 0, i32 0
@@ -7,6 +9,8 @@ define i32 @f1() {
ret i32 %tmp1
}
+; CHECK-LABEL: f2
+; CHECK-NOT: mov
define i32 @f2() {
%buf = alloca [32 x i8], align 4
%tmp = getelementptr [32 x i8], [32 x i8]* %buf, i32 0, i32 0
@@ -15,6 +19,8 @@ define i32 @f2() {
ret i32 %tmp2
}
+; CHECK-LABEL: f3
+; CHECK-NOT: mov
define i32 @f3() {
%buf = alloca [32 x i32], align 4
%tmp = getelementptr [32 x i32], [32 x i32]* %buf, i32 0, i32 32
@@ -22,6 +28,8 @@ define i32 @f3() {
ret i32 %tmp1
}
+; CHECK-LABEL: f4
+; CHECK-NOT: mov
define i32 @f4() {
%buf = alloca [32 x i8], align 4
%tmp = getelementptr [32 x i8], [32 x i8]* %buf, i32 0, i32 2
@@ -29,6 +37,3 @@ define i32 @f4() {
%tmp2 = zext i8 %tmp1 to i32
ret i32 %tmp2
}
-
-; CHECK-NOT: mov
-