summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-28 23:32:04 +0000
committerChris Lattner <sabre@nondot.org>2003-06-28 23:32:04 +0000
commit060c1f816cdb15f3d1ce926cf48f89d3535ab412 (patch)
treef21bc7219a88e7994f4a1210184f747292d2e559 /test/Transforms/InstCombine
parent50e8682f282f1ae04ce18cb84b638d126f499faf (diff)
downloadllvm-060c1f816cdb15f3d1ce926cf48f89d3535ab412.tar.gz
llvm-060c1f816cdb15f3d1ce926cf48f89d3535ab412.tar.bz2
llvm-060c1f816cdb15f3d1ce926cf48f89d3535ab412.tar.xz
Remove usage of grep-not script
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6966 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine')
-rw-r--r--test/Transforms/InstCombine/2002-05-14-SubFailure.ll2
-rw-r--r--test/Transforms/InstCombine/2002-12-05-MissedConstProp.ll2
-rw-r--r--test/Transforms/InstCombine/add.ll2
-rw-r--r--test/Transforms/InstCombine/and.ll2
-rw-r--r--test/Transforms/InstCombine/call.ll2
-rw-r--r--test/Transforms/InstCombine/cast-set.ll2
-rw-r--r--test/Transforms/InstCombine/cast.ll2
-rw-r--r--test/Transforms/InstCombine/div.ll2
-rw-r--r--test/Transforms/InstCombine/getelementptr.ll2
-rw-r--r--test/Transforms/InstCombine/load.ll2
-rw-r--r--test/Transforms/InstCombine/mul.ll2
-rw-r--r--test/Transforms/InstCombine/not.ll2
-rw-r--r--test/Transforms/InstCombine/or.ll2
-rw-r--r--test/Transforms/InstCombine/phi.ll2
-rw-r--r--test/Transforms/InstCombine/pow.ll2
-rw-r--r--test/Transforms/InstCombine/rem.ll2
-rw-r--r--test/Transforms/InstCombine/set.ll2
-rw-r--r--test/Transforms/InstCombine/setcc-strength-reduce.ll2
-rw-r--r--test/Transforms/InstCombine/shift.ll2
-rw-r--r--test/Transforms/InstCombine/sub.ll2
20 files changed, 20 insertions, 20 deletions
diff --git a/test/Transforms/InstCombine/2002-05-14-SubFailure.ll b/test/Transforms/InstCombine/2002-05-14-SubFailure.ll
index dd859c5122..101351e695 100644
--- a/test/Transforms/InstCombine/2002-05-14-SubFailure.ll
+++ b/test/Transforms/InstCombine/2002-05-14-SubFailure.ll
@@ -1,7 +1,7 @@
; Instcombine was missing a test that caused it to make illegal transformations
; sometimes. In this case, it transforms the sub into an add:
; RUN: echo foo
-; RUN: as < %s | opt -instcombine | dis | grep-not add
+; RUN: as < %s | opt -instcombine | dis | not grep add
;
diff --git a/test/Transforms/InstCombine/2002-12-05-MissedConstProp.ll b/test/Transforms/InstCombine/2002-12-05-MissedConstProp.ll
index 96c692438e..6fa77b6763 100644
--- a/test/Transforms/InstCombine/2002-12-05-MissedConstProp.ll
+++ b/test/Transforms/InstCombine/2002-12-05-MissedConstProp.ll
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -instcombine | dis | grep-not add
+; RUN: as < %s | opt -instcombine | dis | not grep add
int %test(int %A) {
%A.neg = sub int 0, %A
diff --git a/test/Transforms/InstCombine/add.ll b/test/Transforms/InstCombine/add.ll
index b2850d37de..e3b9c98f31 100644
--- a/test/Transforms/InstCombine/add.ll
+++ b/test/Transforms/InstCombine/add.ll
@@ -3,7 +3,7 @@
; This also tests that a subtract with a constant is properly converted
; to a add w/negative constant
-; RUN: as < %s | opt -instcombine -die | dis | grep-not add
+; RUN: as < %s | opt -instcombine -die | dis | not grep add
implementation
diff --git a/test/Transforms/InstCombine/and.ll b/test/Transforms/InstCombine/and.ll
index a06fc33fce..f01de784e1 100644
--- a/test/Transforms/InstCombine/and.ll
+++ b/test/Transforms/InstCombine/and.ll
@@ -1,7 +1,7 @@
; This test makes sure that these instructions are properly eliminated.
;
-; RUN: as < %s | opt -instcombine | dis | grep-not and
+; RUN: as < %s | opt -instcombine | dis | not grep and
implementation
diff --git a/test/Transforms/InstCombine/call.ll b/test/Transforms/InstCombine/call.ll
index 665a09c763..cf06244506 100644
--- a/test/Transforms/InstCombine/call.ll
+++ b/test/Transforms/InstCombine/call.ll
@@ -1,4 +1,4 @@
-; RUN: as < %s | opt -instcombine -die | dis | grep call | grep-not cast
+; RUN: as < %s | opt -instcombine -die | dis | grep call | not grep cast
implementation
diff --git a/test/Transforms/InstCombine/cast-set.ll b/test/Transforms/InstCombine/cast-set.ll
index ef3821a1f0..55947d6b7e 100644
--- a/test/Transforms/InstCombine/cast-set.ll
+++ b/test/Transforms/InstCombine/cast-set.ll
@@ -3,7 +3,7 @@
; slow. Might it be better to make there be an instcombine prepass before
; level raise that takes care of the obvious stuff?
-; RUN: as < %s | opt -instcombine | dis | grep-not cast
+; RUN: as < %s | opt -instcombine | dis | not grep cast
bool %test1(int %X) {
%A = cast int %X to uint
diff --git a/test/Transforms/InstCombine/cast.ll b/test/Transforms/InstCombine/cast.ll
index 32556c070e..a19a2f1f2e 100644
--- a/test/Transforms/InstCombine/cast.ll
+++ b/test/Transforms/InstCombine/cast.ll
@@ -1,6 +1,6 @@
; Tests to make sure elimination of casts is working correctly
-; RUN: as < %s | opt -instcombine -die | dis | grep '%c' | grep-not cast
+; RUN: as < %s | opt -instcombine -die | dis | grep '%c' | not grep cast
implementation
diff --git a/test/Transforms/InstCombine/div.ll b/test/Transforms/InstCombine/div.ll
index 913d3ccef5..543bd21238 100644
--- a/test/Transforms/InstCombine/div.ll
+++ b/test/Transforms/InstCombine/div.ll
@@ -1,7 +1,7 @@
; This test makes sure that div instructions are properly eliminated.
;
-; RUN: as < %s | opt -instcombine | dis | grep-not div
+; RUN: as < %s | opt -instcombine | dis | not grep div
implementation
diff --git a/test/Transforms/InstCombine/getelementptr.ll b/test/Transforms/InstCombine/getelementptr.ll
index 011554cffd..09642cdbcc 100644
--- a/test/Transforms/InstCombine/getelementptr.ll
+++ b/test/Transforms/InstCombine/getelementptr.ll
@@ -1,6 +1,6 @@
; The %A getelementptr instruction should be eliminated here
-; RUN: as < %s | opt -instcombine -die | dis | grep getelementptr | grep-not '%A '
+; RUN: as < %s | opt -instcombine -die | dis | grep getelementptr | not grep '%A '
%Global = constant [10 x sbyte] c"helloworld"
diff --git a/test/Transforms/InstCombine/load.ll b/test/Transforms/InstCombine/load.ll
index f80e02e464..f085346597 100644
--- a/test/Transforms/InstCombine/load.ll
+++ b/test/Transforms/InstCombine/load.ll
@@ -1,7 +1,7 @@
; This test makes sure that these instructions are properly eliminated.
;
-; RUN: as < %s | opt -instcombine | dis | grep-not load
+; RUN: as < %s | opt -instcombine | dis | not grep load
%X = constant int 42
%Y = constant [2 x { int, float }] [ { int, float } { int 12, float 1.0 },
diff --git a/test/Transforms/InstCombine/mul.ll b/test/Transforms/InstCombine/mul.ll
index 3ffcc83201..d90ffd2feb 100644
--- a/test/Transforms/InstCombine/mul.ll
+++ b/test/Transforms/InstCombine/mul.ll
@@ -1,7 +1,7 @@
; This test makes sure that mul instructions are properly eliminated.
;
-; RUN: as < %s | opt -instcombine | dis | grep-not mul
+; RUN: as < %s | opt -instcombine | dis | not grep mul
implementation
diff --git a/test/Transforms/InstCombine/not.ll b/test/Transforms/InstCombine/not.ll
index 0928ce7bc3..92ddffdcab 100644
--- a/test/Transforms/InstCombine/not.ll
+++ b/test/Transforms/InstCombine/not.ll
@@ -1,7 +1,7 @@
; This test makes sure that these instructions are properly eliminated.
;
-; RUN: as < %s | opt -instcombine -die | dis | grep-not xor
+; RUN: as < %s | opt -instcombine -die | dis | not grep xor
implementation
diff --git a/test/Transforms/InstCombine/or.ll b/test/Transforms/InstCombine/or.ll
index 09141a3c0a..a9863db935 100644
--- a/test/Transforms/InstCombine/or.ll
+++ b/test/Transforms/InstCombine/or.ll
@@ -1,7 +1,7 @@
; This test makes sure that these instructions are properly eliminated.
;
-; RUN: as < %s | opt -instcombine | dis | grep -v '%OROK = or' | grep-not 'or '
+; RUN: as < %s | opt -instcombine | dis | grep -v '%OROK = or' | not grep 'or '
implementation
diff --git a/test/Transforms/InstCombine/phi.ll b/test/Transforms/InstCombine/phi.ll
index f867bdf426..2c16f7256a 100644
--- a/test/Transforms/InstCombine/phi.ll
+++ b/test/Transforms/InstCombine/phi.ll
@@ -1,7 +1,7 @@
; This test makes sure that these instructions are properly eliminated.
;
-; RUN: as < %s | opt -instcombine -die | dis | grep-not phi
+; RUN: as < %s | opt -instcombine -die | dis | not grep phi
implementation
diff --git a/test/Transforms/InstCombine/pow.ll b/test/Transforms/InstCombine/pow.ll
index 66027cde12..ee84ac6825 100644
--- a/test/Transforms/InstCombine/pow.ll
+++ b/test/Transforms/InstCombine/pow.ll
@@ -2,7 +2,7 @@
;
; Equivalent to: http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01786.html
-; RUN: as < %s | opt -instcombine | dis | grep-not 'call double %pow'
+; RUN: as < %s | opt -instcombine | dis | not grep 'call double %pow'
declare double %pow(double, double)
diff --git a/test/Transforms/InstCombine/rem.ll b/test/Transforms/InstCombine/rem.ll
index 09300a5672..3c941454ca 100644
--- a/test/Transforms/InstCombine/rem.ll
+++ b/test/Transforms/InstCombine/rem.ll
@@ -1,7 +1,7 @@
; This test makes sure that these instructions are properly eliminated.
;
-; RUN: as < %s | opt -instcombine | dis | grep-not rem
+; RUN: as < %s | opt -instcombine | dis | not grep rem
implementation
diff --git a/test/Transforms/InstCombine/set.ll b/test/Transforms/InstCombine/set.ll
index 760e14d1e2..37370fd341 100644
--- a/test/Transforms/InstCombine/set.ll
+++ b/test/Transforms/InstCombine/set.ll
@@ -1,7 +1,7 @@
; This test makes sure that these instructions are properly eliminated.
;
-; RUN: as < %s | opt -instcombine | dis | grep-not set
+; RUN: as < %s | opt -instcombine | dis | not grep set
%X = uninitialized global int
diff --git a/test/Transforms/InstCombine/setcc-strength-reduce.ll b/test/Transforms/InstCombine/setcc-strength-reduce.ll
index 9051d032cf..17ad7dc2e6 100644
--- a/test/Transforms/InstCombine/setcc-strength-reduce.ll
+++ b/test/Transforms/InstCombine/setcc-strength-reduce.ll
@@ -3,7 +3,7 @@
; into equivalent setne,eq instructions.
;
-; RUN: as < %s | opt -instcombine | dis | grep -v seteq | grep -v setne | grep-not set
+; RUN: as < %s | opt -instcombine | dis | grep -v seteq | grep -v setne | not grep set
bool "test1"(uint %A) {
%B = setge uint %A, 1 ; setne %A, 0
diff --git a/test/Transforms/InstCombine/shift.ll b/test/Transforms/InstCombine/shift.ll
index 67e2827007..2def834e87 100644
--- a/test/Transforms/InstCombine/shift.ll
+++ b/test/Transforms/InstCombine/shift.ll
@@ -1,7 +1,7 @@
; This test makes sure that these instructions are properly eliminated.
;
-; RUN: as < %s | opt -instcombine | dis | grep-not sh
+; RUN: as < %s | opt -instcombine | dis | not grep sh
implementation
diff --git a/test/Transforms/InstCombine/sub.ll b/test/Transforms/InstCombine/sub.ll
index 4bd9be645b..2003abdbc1 100644
--- a/test/Transforms/InstCombine/sub.ll
+++ b/test/Transforms/InstCombine/sub.ll
@@ -1,7 +1,7 @@
; This test makes sure that these instructions are properly eliminated.
;
-; RUN: as < %s | opt -instcombine -die | dis | grep sub | grep-not -v 'sub int %Cok, %Bok'
+; RUN: as < %s | opt -instcombine -die | dis | grep sub | not grep -v 'sub int %Cok, %Bok'
implementation