Remove usage of grep-not script
authorChris Lattner <sabre@nondot.org>
Sat, 28 Jun 2003 23:32:04 +0000 (23:32 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 28 Jun 2003 23:32:04 +0000 (23:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6966 91177308-0d34-0410-b5e6-96231b3b80d8

23 files changed:
test/Assembler/2002-04-29-NameBinding.llx
test/Assembler/ConstantExprFoldCast.llx
test/Linker/2003-05-31-LinkerRename.ll
test/Transforms/InstCombine/2002-05-14-SubFailure.ll
test/Transforms/InstCombine/2002-12-05-MissedConstProp.ll
test/Transforms/InstCombine/add.ll
test/Transforms/InstCombine/and.ll
test/Transforms/InstCombine/call.ll
test/Transforms/InstCombine/cast-set.ll
test/Transforms/InstCombine/cast.ll
test/Transforms/InstCombine/div.ll
test/Transforms/InstCombine/getelementptr.ll
test/Transforms/InstCombine/load.ll
test/Transforms/InstCombine/mul.ll
test/Transforms/InstCombine/not.ll
test/Transforms/InstCombine/or.ll
test/Transforms/InstCombine/phi.ll
test/Transforms/InstCombine/pow.ll
test/Transforms/InstCombine/rem.ll
test/Transforms/InstCombine/set.ll
test/Transforms/InstCombine/setcc-strength-reduce.ll
test/Transforms/InstCombine/shift.ll
test/Transforms/InstCombine/sub.ll

index c1e6aba5e05e21bb1dae5758112953e029af9a60..29378a357c9431d9346983af6be7eff9ad537709 100644 (file)
@@ -4,7 +4,7 @@
 ; Check by running globaldce, which will remove the constant if there are
 ; no references to it!
 ; 
-; RUN: as < %s | opt -globaldce | dis | grep-not constant
+; RUN: as < %s | opt -globaldce | dis | not grep constant
 ;
        
 %v1 = internal constant int 5
index 34e5654b858906071729a56754e7dee96f7ad8bd..3dc6aacb2746ee62553ffeaa089d891c1d47533b 100644 (file)
@@ -1,6 +1,6 @@
 ; This test checks to make sure that constant exprs fold in some simple situations
 
-; RUN: as < %s | dis | grep-not cast
+; RUN: as < %s | dis | not grep cast
 
 %A = global int* cast (sbyte* null to int*)  ; Cast null -> fold
 %B = global int** cast (int** %A to int**)   ; Cast to same type -> fold
index b3e4b8ef3fcbc390bc7b6af9aa5adcb7786535b8..1b4206455047e22e6679661cc854c3640d320a30 100644 (file)
@@ -5,7 +5,7 @@
 
 ; RUN: echo "implementation internal int %foo() { ret int 7 }" | as > Output/%s.1.bc
 ; RUN: as < %s > Output/%s.2.bc
-; RUN: link Output/%s.[12].bc | dis | grep 'internal' | grep-not '%foo('
+; RUN: link Output/%s.[12].bc | dis | grep 'internal' | not grep '%foo('
 
 implementation
 declare int %foo() 
index dd859c512233e3f21227f254d9c2a7a7be2ee8b2..101351e695ca1dca0d32488f6ccaeeeac860748e 100644 (file)
@@ -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
 ;
 
 
index 96c692438e7b2e26d65bc8a24d6935fb6ba67a2d..6fa77b676351ba0cd5d64bba915bc701e69fdfa9 100644 (file)
@@ -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
index b2850d37dec202b7155f6fdb0e78371ebddb07e0..e3b9c98f317b2e30628360473b100bbae578260b 100644 (file)
@@ -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
 
index a06fc33fced75b82b4c8ebff41d90bb7b3ba225e..f01de784e198a014ab997a9663ed0058e013ebee 100644 (file)
@@ -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
 
index 665a09c76392c32a2c08c4bae5276a5ed461b2cd..cf06244506ccc9c619e9b733a170e59473c815f2 100644 (file)
@@ -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
 
index ef3821a1f04b30d139918c9702bfcad6c548fa2d..55947d6b7e5198a2e2cbdabba5f98fd74bde347e 100644 (file)
@@ -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
index 32556c070e814a8659cd8658256545d6df25e283..a19a2f1f2e1959d398f6016b6c545c878f88bd38 100644 (file)
@@ -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
 
index 913d3ccef5c047fc096d7efc96a2c6bcf7ea3cac..543bd21238e813e5bba5c239ed403f374ac2fd4d 100644 (file)
@@ -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
 
index 011554cffd7e1d06d8d85fbd2d30c8b01d0374c0..09642cdbcc9ce24653b99b1972aae4050403bb8f 100644 (file)
@@ -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"
 
index f80e02e464e1673e51df61c324f4f1d259b57b87..f085346597bab92e4a7669a5bf812f59defaa9bd 100644 (file)
@@ -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 }, 
index 3ffcc832015419ac64cf2050a39346b023cfbb85..d90ffd2feb7f6ba48e2dbcaf6b4b24a85ccf2df5 100644 (file)
@@ -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
 
index 0928ce7bc30415afcf1c90f04996aed2c124991c..92ddffdcab4a39208195277f8c015fe22b35c5c5 100644 (file)
@@ -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
 
index 09141a3c0ac933884aef212eeceadefd8a5cbfae..a9863db935a51f6eee6ea425a2563c2795ecb11f 100644 (file)
@@ -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
 
index f867bdf42657a9b5a0e58cf88636cea58b1b2163..2c16f7256afb586946c2b7d1a096857c16e2998c 100644 (file)
@@ -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
 
index 66027cde12487316e07c7c5c9417554cb97e899c..ee84ac6825c845dede3c7e65736b335ac65496d6 100644 (file)
@@ -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)
 
index 09300a56726d4d6442089e0e12c2d0c5d11f0a7d..3c941454cab2f8e400cfca27bc9c7ba11f3f9493 100644 (file)
@@ -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
 
index 760e14d1e29aefa62f7cbfc3f0246998dc64e49c..37370fd3411aeb32ef4e9130d4aa3a3149e9abf2 100644 (file)
@@ -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
 
index 9051d032cff0c826093d0239e1081c96914e7e7c..17ad7dc2e69ac8750c7f00af260009f9952fb188 100644 (file)
@@ -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
index 67e2827007f7f540e44432abdae078be5e51b8c5..2def834e8726d06b1424b6c012bcba47743d8c00 100644 (file)
@@ -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
 
index 4bd9be645b5ec7edd7ca18539a330707dceca405..2003abdbc1bd290eb06f38cdbc7deb58524522ca 100644 (file)
@@ -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