[llvm] r175093 - s/grep/FileCheck/ in some tests

Eli Bendersky eliben at google.com
Wed Feb 13 14:00:38 PST 2013


Author: eliben
Date: Wed Feb 13 16:00:37 2013
New Revision: 175093

URL: http://llvm.org/viewvc/llvm-project?rev=175093&view=rev
Log:
s/grep/FileCheck/ in some tests

Modified:
    llvm/trunk/test/CodeGen/X86/insertelement-copytoregs.ll
    llvm/trunk/test/Transforms/ScalarRepl/volatile.ll

Modified: llvm/trunk/test/CodeGen/X86/insertelement-copytoregs.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/insertelement-copytoregs.ll?rev=175093&r1=175092&r2=175093&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/insertelement-copytoregs.ll (original)
+++ llvm/trunk/test/CodeGen/X86/insertelement-copytoregs.ll Wed Feb 13 16:00:37 2013
@@ -1,4 +1,5 @@
-; RUN: llc < %s -march=x86-64 | grep -v IMPLICIT_DEF
+; RUN: llc < %s -march=x86-64 | FileCheck %s
+; CHECK-NOT: IMPLICIT_DEF
 
 define void @foo(<2 x float>* %p) {
   %t = insertelement <2 x float> undef, float 0.0, i32 0

Modified: llvm/trunk/test/Transforms/ScalarRepl/volatile.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ScalarRepl/volatile.ll?rev=175093&r1=175092&r2=175093&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/ScalarRepl/volatile.ll (original)
+++ llvm/trunk/test/Transforms/ScalarRepl/volatile.ll Wed Feb 13 16:00:37 2013
@@ -1,12 +1,13 @@
-; RUN: opt < %s -scalarrepl -S | grep "load volatile"
-; RUN: opt < %s -scalarrepl -S | grep "store volatile"
+; RUN: opt < %s -scalarrepl -S | FileCheck %s
 
 define i32 @voltest(i32 %T) {
 	%A = alloca {i32, i32}
 	%B = getelementptr {i32,i32}* %A, i32 0, i32 0
 	store volatile i32 %T, i32* %B
+; CHECK: store volatile
 
 	%C = getelementptr {i32,i32}* %A, i32 0, i32 1
 	%X = load volatile i32* %C
+; CHECK: load volatile
 	ret i32 %X
 }





More information about the llvm-commits mailing list