[PATCH] D17044: Prevent some erroneous lit test failures due to unlucky name of working directory

Mitch Bodart via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 17 08:39:49 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL261104: Fix some erroneous lit test failures due to unlucky name of working directory. (authored by mbodart).

Changed prior to commit:
  http://reviews.llvm.org/D17044?vs=48122&id=48195#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D17044

Files:
  llvm/trunk/test/CodeGen/ARM/hello.ll
  llvm/trunk/test/CodeGen/ARM/ldr_frame.ll
  llvm/trunk/test/CodeGen/ARM/truncstore-dag-combine.ll

Index: llvm/trunk/test/CodeGen/ARM/hello.ll
===================================================================
--- llvm/trunk/test/CodeGen/ARM/hello.ll
+++ llvm/trunk/test/CodeGen/ARM/hello.ll
@@ -16,9 +16,11 @@
 
 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
Index: llvm/trunk/test/CodeGen/ARM/truncstore-dag-combine.ll
===================================================================
--- llvm/trunk/test/CodeGen/ARM/truncstore-dag-combine.ll
+++ llvm/trunk/test/CodeGen/ARM/truncstore-dag-combine.ll
@@ -1,21 +1,23 @@
 ; 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]
 	%tmp = load i16, i16* %Q, align 1		; <i16> [#uses=1]
 	store i16 %tmp, i16* %P1, align 1
 	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]
 	%tmp = load i32, i32* %Q, align 1		; <i32> [#uses=1]
 	store i32 %tmp, i32* %P1, align 1
 	ret void
 }
-
-; CHECK-NOT: orr
-; CHECK-NOT: mov
-
Index: llvm/trunk/test/CodeGen/ARM/ldr_frame.ll
===================================================================
--- llvm/trunk/test/CodeGen/ARM/ldr_frame.ll
+++ llvm/trunk/test/CodeGen/ARM/ldr_frame.ll
@@ -1,34 +1,39 @@
 ; 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
 	%tmp1 = load i32, i32* %tmp
 	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
 	%tmp1 = load i8, i8* %tmp
         %tmp2 = zext i8 %tmp1 to i32
 	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
 	%tmp1 = load i32, i32* %tmp
 	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
 	%tmp1 = load i8, i8* %tmp
         %tmp2 = zext i8 %tmp1 to i32
 	ret i32 %tmp2
 }
-
-; CHECK-NOT: mov
-


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17044.48195.patch
Type: text/x-patch
Size: 2499 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160217/ff6adbd5/attachment.bin>


More information about the llvm-commits mailing list