diff options
| author | River Riddle <riddleriver@gmail.com> | 2022-02-26 14:49:54 -0800 |
|---|---|---|
| committer | River Riddle <riddleriver@gmail.com> | 2022-03-01 12:10:04 -0800 |
| commit | 23aa5a744666b281af807b1f598f517bf0d597cb (patch) | |
| tree | b4a10ca7f2c3cc23ab175093df245e20fe3d701d /mlir/lib/Conversion/ShapeToStandard/ConvertShapeConstraints.cpp | |
| parent | 9bf6e3e97e3ec91241cfd29030e80baeb9465b2b (diff) | |
[mlir] Rename the Standard dialect to the Func dialect
The last remaining operations in the standard dialect all revolve around
FuncOp/function related constructs. This patch simply handles the initial
renaming (which by itself is already huge), but there are a large number
of cleanups unlocked/necessary afterwards:
* Removing a bunch of unnecessary dependencies on Func
* Cleaning up the From/ToStandard conversion passes
* Preparing for the move of FuncOp to the Func dialect
See the discussion at https://discourse.llvm.org/t/standard-dialect-the-final-chapter/6061
Differential Revision: https://reviews.llvm.org/D120624
Diffstat (limited to 'mlir/lib/Conversion/ShapeToStandard/ConvertShapeConstraints.cpp')
| -rw-r--r-- | mlir/lib/Conversion/ShapeToStandard/ConvertShapeConstraints.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Conversion/ShapeToStandard/ConvertShapeConstraints.cpp b/mlir/lib/Conversion/ShapeToStandard/ConvertShapeConstraints.cpp index f24ae5bbd6cf..25d5d5b5856e 100644 --- a/mlir/lib/Conversion/ShapeToStandard/ConvertShapeConstraints.cpp +++ b/mlir/lib/Conversion/ShapeToStandard/ConvertShapeConstraints.cpp @@ -10,9 +10,9 @@ #include "../PassDetail.h" #include "mlir/Dialect/ControlFlow/IR/ControlFlowOps.h" +#include "mlir/Dialect/Func/IR/FuncOps.h" #include "mlir/Dialect/SCF/SCF.h" #include "mlir/Dialect/Shape/IR/Shape.h" -#include "mlir/Dialect/StandardOps/IR/Ops.h" #include "mlir/Dialect/Tensor/IR/Tensor.h" #include "mlir/IR/PatternMatch.h" #include "mlir/Pass/Pass.h" |
