diff options
author | Eli Bendersky <eliben@google.com> | 2013-04-08 18:33:51 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2013-04-08 18:33:51 +0000 |
commit | c3d5c1cb338f3929f868f6130a2d036ff22e9e1c (patch) | |
tree | c82536fc917ab7c7f3cdf5121bac23b9ae3e8dd5 /test/Verifier/PhiGrouping.ll | |
parent | 813456527e73f0c1468514c523c6258d360bcd91 (diff) | |
download | external_llvm-c3d5c1cb338f3929f868f6130a2d036ff22e9e1c.zip external_llvm-c3d5c1cb338f3929f868f6130a2d036ff22e9e1c.tar.gz external_llvm-c3d5c1cb338f3929f868f6130a2d036ff22e9e1c.tar.bz2 |
Rewrite test/Verifier tests to use FileCheck instead of grep
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179036 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Verifier/PhiGrouping.ll')
-rw-r--r-- | test/Verifier/PhiGrouping.ll | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/Verifier/PhiGrouping.ll b/test/Verifier/PhiGrouping.ll index 7b42fd2..291f084 100644 --- a/test/Verifier/PhiGrouping.ll +++ b/test/Verifier/PhiGrouping.ll @@ -1,6 +1,5 @@ -; RUN: not llvm-as < %s 2>&1 | grep "PHI nodes not grouped at top" - - +; RUN: not llvm-as < %s 2>&1 | FileCheck %s +; CHECK: PHI nodes not grouped at top define i32 @test(i32 %i, i32 %j, i1 %c) { br i1 %c, label %A, label %B |