[llvm] r196636 - [mips] Fix test case.
Akira Hatanaka
ahatanaka at mips.com
Fri Dec 6 18:48:29 PST 2013
Author: ahatanak
Date: Fri Dec 6 20:48:29 2013
New Revision: 196636
URL: http://llvm.org/viewvc/llvm-project?rev=196636&view=rev
Log:
[mips] Fix test case.
Indent the command lines to indicate they continue from previous lines. Also,
fix incorrect uses of CHECK-DAG and CHECK-NOT.
Modified:
llvm/trunk/test/CodeGen/Mips/call-optimization.ll
Modified: llvm/trunk/test/CodeGen/Mips/call-optimization.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/call-optimization.ll?rev=196636&r1=196635&r2=196636&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Mips/call-optimization.ll (original)
+++ llvm/trunk/test/CodeGen/Mips/call-optimization.ll Fri Dec 6 20:48:29 2013
@@ -1,7 +1,7 @@
; RUN: llc -march=mipsel -disable-mips-delay-filler < %s | \
-; RUN: FileCheck %s -check-prefix=O32
+; RUN: FileCheck %s -check-prefix=O32
; RUN: llc -march=mipsel -mips-load-target-from-got=false \
-; RUN: -disable-mips-delay-filler < %s | FileCheck %s -check-prefix=O32-LOADTGT
+; RUN: -disable-mips-delay-filler < %s | FileCheck %s -check-prefix=O32-LOADTGT
@gd1 = common global double 0.000000e+00, align 8
@gd2 = common global double 0.000000e+00, align 8
@@ -10,10 +10,12 @@
; O32-DAG: lw $25, %call16(callee3)
; O32-DAG: move $gp
; O32: jalr $25
-; O32-DAG: lw $25, %call16(callee3)
+; O32-NOT: move $gp
+; O32: lw $25, %call16(callee3)
; O32-NOT: move $gp
; O32: jalr $25
-; O32-DAG: lw $25, %call16(callee3)
+; O32-NOT: move $gp
+; O32: lw $25, %call16(callee3)
; O32-NOT: move $gp
; O32: jalr $25
@@ -21,10 +23,12 @@
; O32-LOADTGT-DAG: lw $25, %call16(callee3)
; O32-LOADTGT-DAG: move $gp
; O32-LOADTGT: jalr $25
-; O32-LOADTGT-DAG: move $25
+; O32-LOADTGT-NOT: move $gp
+; O32-LOADTGT: move $25
; O32-LOADTGT-NOT: move $gp
; O32-LOADTGT: jalr $25
-; O32-LOADTGT-DAG: move $25
+; O32-LOADTGT-NOT: move $gp
+; O32-LOADTGT: move $25
; O32-LOADTGT-NOT: move $gp
; O32-LOADTGT: jalr $25
@@ -52,10 +56,12 @@ declare void @callee3()
; O32-DAG: lw $25, %call16(ceil)
; O32-DAG: move $gp
; O32: jalr $25
-; O32-DAG: lw $25, %call16(ceil)
+; O32-NOT: move $gp
+; O32: lw $25, %call16(ceil)
; O32-NOT: move $gp
; O32: jalr $25
-; O32-DAG: lw $25, %call16(ceil)
+; O32-NOT: move $gp
+; O32: lw $25, %call16(ceil)
; O32-NOT: move $gp
; O32: jalr $25
@@ -63,10 +69,12 @@ declare void @callee3()
; O32-LOADTGT-DAG: lw $25, %call16(ceil)
; O32-LOADTGT-DAG: move $gp
; O32-LOADTGT: jalr $25
-; O32-LOADTGT-DAG: move $25
+; O32-LOADTGT-NOT: move $gp
+; O32-LOADTGT: move $25
; O32-LOADTGT-NOT: move $gp
; O32-LOADTGT: jalr $25
-; O32-LOADTGT-DAG: move $25
+; O32-LOADTGT-NOT: move $gp
+; O32-LOADTGT: move $25
; O32-LOADTGT-NOT: move $gp
; O32-LOADTGT: jalr $25
More information about the llvm-commits
mailing list