summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Bodart <mitch.l.bodart@intel.com>2016-02-17 16:35:18 +0000
committerMitch Bodart <mitch.l.bodart@intel.com>2016-02-17 16:35:18 +0000
commit3f42095776dee960b6034c7a9ee92fe173dbc51a (patch)
treed45fe1d3e9e14757a8ce23a6f09761347c5d1f47
parentf04f184d9c4d7c079d67488f714f02e3fa16bd93 (diff)
downloadbcm5719-llvm-3f42095776dee960b6034c7a9ee92fe173dbc51a.tar.gz
bcm5719-llvm-3f42095776dee960b6034c7a9ee92fe173dbc51a.zip
Fix some erroneous lit test failures due to unlucky name of working directory.
Differential Revision: http://reviews.llvm.org/D17044 llvm-svn: 261104
-rw-r--r--llvm/test/CodeGen/ARM/hello.ll2
-rw-r--r--llvm/test/CodeGen/ARM/ldr_frame.ll11
-rw-r--r--llvm/test/CodeGen/ARM/truncstore-dag-combine.ll10
3 files changed, 16 insertions, 7 deletions
diff --git a/llvm/test/CodeGen/ARM/hello.ll b/llvm/test/CodeGen/ARM/hello.ll
index 08e6104bbcf..b03a60ab60c 100644
--- a/llvm/test/CodeGen/ARM/hello.ll
+++ b/llvm/test/CodeGen/ARM/hello.ll
@@ -16,9 +16,11 @@ define i32 @main() {
declare i32 @puts(i8*)
+; CHECK-LABEL: main
; CHECK: mov
; CHECK-NOT: mov
+; CHECK-FP-ELIM-LABEL: main
; CHECK-FP-ELIM: mov
; CHECK-FP-ELIM: mov
; CHECK-FP-ELIM-NOT: mov
diff --git a/llvm/test/CodeGen/ARM/ldr_frame.ll b/llvm/test/CodeGen/ARM/ldr_frame.ll
index 01b18bccc33..24c10b42a44 100644
--- a/llvm/test/CodeGen/ARM/ldr_frame.ll
+++ b/llvm/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
-
diff --git a/llvm/test/CodeGen/ARM/truncstore-dag-combine.ll b/llvm/test/CodeGen/ARM/truncstore-dag-combine.ll
index 11fa022451f..5142a305b3a 100644
--- a/llvm/test/CodeGen/ARM/truncstore-dag-combine.ll
+++ b/llvm/test/CodeGen/ARM/truncstore-dag-combine.ll
@@ -1,5 +1,8 @@
; RUN: llc -mtriple=arm-eabi -mattr=+v4t %s -o - | FileCheck %s
+; CHECK-LABEL: bar
+; CHECK-NOT: orr
+; CHECK-NOT: mov
define void @bar(i8* %P, i16* %Q) {
entry:
%P1 = bitcast i8* %P to i16* ; <i16*> [#uses=1]
@@ -8,6 +11,9 @@ entry:
ret void
}
+; CHECK-LABEL: foo
+; CHECK-NOT: orr
+; CHECK-NOT: mov
define void @foo(i8* %P, i32* %Q) {
entry:
%P1 = bitcast i8* %P to i32* ; <i32*> [#uses=1]
@@ -15,7 +21,3 @@ entry:
store i32 %tmp, i32* %P1, align 1
ret void
}
-
-; CHECK-NOT: orr
-; CHECK-NOT: mov
-
OpenPOWER on IntegriCloud