s/grep/FileCheck/ in some tests
authorEli Bendersky <eliben@google.com>
Wed, 13 Feb 2013 22:00:37 +0000 (22:00 +0000)
committerEli Bendersky <eliben@google.com>
Wed, 13 Feb 2013 22:00:37 +0000 (22:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175093 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/insertelement-copytoregs.ll
test/Transforms/ScalarRepl/volatile.ll

index 34a29ca7d939c4c8a37a3555586bd66b21ce30d6..88ff4dafad7d1888e378551b084a4eac79efaec4 100644 (file)
@@ -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
index 056526cbd92b40ae32ddd29b8ae621f9516cf35c..d506cdfbd87a16f84d4c90838db5aaf2ff3c327c 100644 (file)
@@ -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
 }