diff options
author | Reid Kleckner <reid@kleckner.net> | 2013-01-25 22:11:46 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2013-01-25 22:11:46 +0000 |
commit | ce98f09f539b09c2565bc6f7608e430fd190a1cc (patch) | |
tree | 19414ed0944526082709a0cf6ac119f3e081bc37 /test/Transforms/ScalarRepl | |
parent | 6bbf4ff9c545c881422da37494b1ccb9c18d9c6a (diff) |
FileCheck-ify some grep tests
These tests in particular try to use escaped square brackets as an
argument to grep, which is failing for me with native win32 python. It
appears the backslash is being lost near the CreateProcess*() call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173506 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/ScalarRepl')
-rw-r--r-- | test/Transforms/ScalarRepl/2003-09-12-IncorrectPromote.ll | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/Transforms/ScalarRepl/2003-09-12-IncorrectPromote.ll b/test/Transforms/ScalarRepl/2003-09-12-IncorrectPromote.ll index 0b5e4152c4..3f28cb187f 100644 --- a/test/Transforms/ScalarRepl/2003-09-12-IncorrectPromote.ll +++ b/test/Transforms/ScalarRepl/2003-09-12-IncorrectPromote.ll @@ -1,7 +1,6 @@ ; Scalar replacement was incorrectly promoting this alloca!! ; -; RUN: opt < %s -scalarrepl -S | \ -; RUN: sed "s/;.*//g" | grep "\[" +; RUN: opt < %s -scalarrepl -S | FileCheck %s define i8* @test() { %A = alloca [30 x i8] ; <[30 x i8]*> [#uses=1] @@ -10,4 +9,4 @@ define i8* @test() { store i8 0, i8* %B ret i8* %C } - +; CHECK: alloca [ |