summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-01-25 22:11:46 +0000
committerReid Kleckner <reid@kleckner.net>2013-01-25 22:11:46 +0000
commitab083f727bbe569d80bc98fee8933d9a7c6b42ad (patch)
treeeaa0e1c388799e8b04e7dadf4b8d3b56519d0a90 /llvm/test/Transforms
parent476a6dab9f1caee281666dd718db1a438cae14f1 (diff)
downloadbcm5719-llvm-ab083f727bbe569d80bc98fee8933d9a7c6b42ad.tar.gz
bcm5719-llvm-ab083f727bbe569d80bc98fee8933d9a7c6b42ad.zip
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. llvm-svn: 173506
Diffstat (limited to 'llvm/test/Transforms')
-rw-r--r--llvm/test/Transforms/ScalarRepl/2003-09-12-IncorrectPromote.ll5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/test/Transforms/ScalarRepl/2003-09-12-IncorrectPromote.ll b/llvm/test/Transforms/ScalarRepl/2003-09-12-IncorrectPromote.ll
index 0b5e4152c42..3f28cb187f8 100644
--- a/llvm/test/Transforms/ScalarRepl/2003-09-12-IncorrectPromote.ll
+++ b/llvm/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 [
OpenPOWER on IntegriCloud