[llvm] r201080 - [mips][msa] Update FileCheck prefix in preparation for
Matheus Almeida
matheus.almeida at imgtec.com
Mon Feb 10 03:30:09 PST 2014
Author: matheusalmeida
Date: Mon Feb 10 05:30:09 2014
New Revision: 201080
URL: http://llvm.org/viewvc/llvm-project?rev=201080&view=rev
Log:
[mips][msa] Update FileCheck prefix in preparation for
the addition of Mips64 tests.
No functional changes.
Modified:
llvm/trunk/test/CodeGen/Mips/msa/special.ll
Modified: llvm/trunk/test/CodeGen/Mips/msa/special.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/msa/special.ll?rev=201080&r1=201079&r2=201080&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Mips/msa/special.ll (original)
+++ llvm/trunk/test/CodeGen/Mips/msa/special.ll Mon Feb 10 05:30:09 2014
@@ -1,6 +1,7 @@
; Test the MSA intrinsics that are encoded with the SPECIAL instruction format.
-; RUN: llc -march=mips -mattr=+msa,+fp64 < %s | FileCheck %s
+; RUN: llc -march=mips -mattr=+msa,+fp64 < %s | \
+; RUN: FileCheck %s --check-prefix=MIPS32
define i32 @llvm_mips_lsa_test(i32 %a, i32 %b) nounwind {
entry:
@@ -10,9 +11,9 @@ entry:
declare i32 @llvm.mips.lsa(i32, i32, i32) nounwind
-; CHECK: llvm_mips_lsa_test:
-; CHECK: lsa {{\$[0-9]+}}, $5, $4, 2
-; CHECK: .size llvm_mips_lsa_test
+; MIPS32: llvm_mips_lsa_test:
+; MIPS32: lsa {{\$[0-9]+}}, $5, $4, 2
+; MIPS32: .size llvm_mips_lsa_test
define i32 @lsa_test(i32 %a, i32 %b) nounwind {
entry:
@@ -21,6 +22,6 @@ entry:
ret i32 %1
}
-; CHECK: lsa_test:
-; CHECK: lsa {{\$[0-9]+}}, $5, $4, 2
-; CHECK: .size lsa_test
+; MIPS32: lsa_test:
+; MIPS32: lsa {{\$[0-9]+}}, $5, $4, 2
+; MIPS32: .size lsa_test
More information about the llvm-commits
mailing list