[Mlir-commits] [mlir] 713c8f6 - [mlir] Make header standalone (NFC)
Adrian Kuegel
llvmlistbot at llvm.org
Thu Mar 17 01:20:49 PDT 2022
Author: Adrian Kuegel
Date: 2022-03-17T09:20:18+01:00
New Revision: 713c8f6ae5ac0a59a69698d27510ed79a9f78821
URL: https://github.com/llvm/llvm-project/commit/713c8f6ae5ac0a59a69698d27510ed79a9f78821
DIFF: https://github.com/llvm/llvm-project/commit/713c8f6ae5ac0a59a69698d27510ed79a9f78821.diff
LOG: [mlir] Make header standalone (NFC)
Added:
Modified:
mlir/include/mlir/Dialect/Shape/Transforms/Passes.h
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/Shape/Transforms/Passes.h b/mlir/include/mlir/Dialect/Shape/Transforms/Passes.h
index 157e1e2fcc344..a489ba342ed5f 100644
--- a/mlir/include/mlir/Dialect/Shape/Transforms/Passes.h
+++ b/mlir/include/mlir/Dialect/Shape/Transforms/Passes.h
@@ -19,6 +19,9 @@
namespace mlir {
class ConversionTarget;
class TypeConverter;
+namespace func {
+class FuncOp;
+} // namespace func
} // namespace mlir
namespace mlir {
@@ -38,14 +41,14 @@ void populateShapeRewritePatterns(RewritePatternSet &patterns);
//
// After this pass, no cstr_ operations exist.
void populateRemoveShapeConstraintsPatterns(RewritePatternSet &patterns);
-std::unique_ptr<OperationPass<FuncOp>> createRemoveShapeConstraintsPass();
+std::unique_ptr<OperationPass<func::FuncOp>> createRemoveShapeConstraintsPass();
// Bufferizes shape dialect ops.
//
// Note that most shape dialect ops must be converted to std before
// bufferization happens, as they are intended to be bufferized at the std
// level.
-std::unique_ptr<OperationPass<FuncOp>> createShapeBufferizePass();
+std::unique_ptr<OperationPass<func::FuncOp>> createShapeBufferizePass();
//===----------------------------------------------------------------------===//
// Registration
More information about the Mlir-commits
mailing list