Skip to content

Commit

Permalink
s/grep/FileCheck/ in some tests
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175093 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
eliben committed Feb 13, 2013
1 parent 48aaf5f commit fa7c9ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion test/CodeGen/X86/insertelement-copytoregs.ll
@@ -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
Expand Down
5 changes: 3 additions & 2 deletions test/Transforms/ScalarRepl/volatile.ll
@@ -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
}

0 comments on commit fa7c9ef

Please sign in to comment.