[Mlir-commits] [mlir] abd860e - Remove obsolete using declaration that was just kept around to help with API adoption.

Chris Lattner llvmlistbot at llvm.org
Mon Apr 26 11:53:32 PDT 2021


Author: Chris Lattner
Date: 2021-04-26T11:53:24-07:00
New Revision: abd860eaef418693d73582f06b60ff7d0347e8e5

URL: https://github.com/llvm/llvm-project/commit/abd860eaef418693d73582f06b60ff7d0347e8e5
DIFF: https://github.com/llvm/llvm-project/commit/abd860eaef418693d73582f06b60ff7d0347e8e5.diff

LOG: Remove obsolete using declaration that was just kept around to help with API adoption.

Differential Revision: https://reviews.llvm.org/D101269

Added: 
    

Modified: 
    mlir/include/mlir/IR/PatternMatch.h
    mlir/include/mlir/Rewrite/FrozenRewritePatternSet.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/IR/PatternMatch.h b/mlir/include/mlir/IR/PatternMatch.h
index 5ee9418efa38f..6d7a5068ac38d 100644
--- a/mlir/include/mlir/IR/PatternMatch.h
+++ b/mlir/include/mlir/IR/PatternMatch.h
@@ -993,10 +993,6 @@ class RewritePatternSet {
   PDLPatternModule pdlPatterns;
 };
 
-// TODO: OwningRewritePatternList is soft-deprecated and will be removed in the
-// future.
-using OwningRewritePatternList = RewritePatternSet;
-
 } // end namespace mlir
 
 #endif // MLIR_PATTERN_MATCH_H

diff  --git a/mlir/include/mlir/Rewrite/FrozenRewritePatternSet.h b/mlir/include/mlir/Rewrite/FrozenRewritePatternSet.h
index 6791fbd7e3c09..e251ac0eeb29d 100644
--- a/mlir/include/mlir/Rewrite/FrozenRewritePatternSet.h
+++ b/mlir/include/mlir/Rewrite/FrozenRewritePatternSet.h
@@ -84,10 +84,6 @@ class FrozenRewritePatternSet {
   std::shared_ptr<Impl> impl;
 };
 
-// TODO: FrozenRewritePatternList is soft-deprecated and will be removed in the
-// future.
-using FrozenRewritePatternList = FrozenRewritePatternSet;
-
 } // end namespace mlir
 
 #endif // MLIR_REWRITE_FROZENREWRITEPATTERNSET_H


        


More information about the Mlir-commits mailing list