Skip to content

Commit 713c8f6

Browse files
committed
[mlir] Make header standalone (NFC)
1 parent 214afc7 commit 713c8f6

File tree

1 file changed

+5
-2
lines changed
  • mlir/include/mlir/Dialect/Shape/Transforms

1 file changed

+5
-2
lines changed

mlir/include/mlir/Dialect/Shape/Transforms/Passes.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
namespace mlir {
2020
class ConversionTarget;
2121
class TypeConverter;
22+
namespace func {
23+
class FuncOp;
24+
} // namespace func
2225
} // namespace mlir
2326

2427
namespace mlir {
@@ -38,14 +41,14 @@ void populateShapeRewritePatterns(RewritePatternSet &patterns);
3841
//
3942
// After this pass, no cstr_ operations exist.
4043
void populateRemoveShapeConstraintsPatterns(RewritePatternSet &patterns);
41-
std::unique_ptr<OperationPass<FuncOp>> createRemoveShapeConstraintsPass();
44+
std::unique_ptr<OperationPass<func::FuncOp>> createRemoveShapeConstraintsPass();
4245

4346
// Bufferizes shape dialect ops.
4447
//
4548
// Note that most shape dialect ops must be converted to std before
4649
// bufferization happens, as they are intended to be bufferized at the std
4750
// level.
48-
std::unique_ptr<OperationPass<FuncOp>> createShapeBufferizePass();
51+
std::unique_ptr<OperationPass<func::FuncOp>> createShapeBufferizePass();
4952

5053
//===----------------------------------------------------------------------===//
5154
// Registration

0 commit comments

Comments
 (0)