|
131 | 131 | #include "mlir/include/mlir/Conversion/UBToLLVM/UBToLLVM.h" // from @llvm-project |
132 | 132 | #include "mlir/include/mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM.h" // from @llvm-project |
133 | 133 | #include "mlir/include/mlir/Dialect/Affine/IR/AffineOps.h" // from @llvm-project |
| 134 | +#include "mlir/include/mlir/Dialect/Affine/IR/ValueBoundsOpInterfaceImpl.h" // from @llvm-project |
134 | 135 | #include "mlir/include/mlir/Dialect/Affine/Transforms/Passes.h" // from @llvm-project |
135 | 136 | #include "mlir/include/mlir/Dialect/Arith/IR/Arith.h" // from @llvm-project |
| 137 | +#include "mlir/include/mlir/Dialect/Arith/IR/ValueBoundsOpInterfaceImpl.h" // from @llvm-project |
136 | 138 | #include "mlir/include/mlir/Dialect/Arith/Transforms/BufferDeallocationOpInterfaceImpl.h" // from @llvm-project |
137 | 139 | #include "mlir/include/mlir/Dialect/Arith/Transforms/BufferizableOpInterfaceImpl.h" // from @llvm-project |
138 | 140 | #include "mlir/include/mlir/Dialect/Bufferization/IR/Bufferization.h" // from @llvm-project |
|
149 | 151 | #include "mlir/include/mlir/Dialect/Linalg/Transforms/BufferizableOpInterfaceImpl.h" // from @llvm-project |
150 | 152 | #include "mlir/include/mlir/Dialect/Math/IR/Math.h" // from @llvm-project |
151 | 153 | #include "mlir/include/mlir/Dialect/MemRef/IR/MemRef.h" // from @llvm-project |
| 154 | +#include "mlir/include/mlir/Dialect/MemRef/IR/ValueBoundsOpInterfaceImpl.h" // from @llvm-project |
152 | 155 | #include "mlir/include/mlir/Dialect/MemRef/Transforms/Passes.h" // from @llvm-project |
153 | 156 | #include "mlir/include/mlir/Dialect/SCF/IR/SCF.h" // from @llvm-project |
| 157 | +#include "mlir/include/mlir/Dialect/SCF/IR/ValueBoundsOpInterfaceImpl.h" // from @llvm-project |
154 | 158 | #include "mlir/include/mlir/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.h" // from @llvm-project |
155 | 159 | #include "mlir/include/mlir/Dialect/Tensor/Extensions/AllExtensions.h" // from @llvm-project |
156 | 160 | #include "mlir/include/mlir/Dialect/Tensor/IR/TensorInferTypeOpInterfaceImpl.h" // from @llvm-project |
| 161 | +#include "mlir/include/mlir/Dialect/Tensor/IR/ValueBoundsOpInterfaceImpl.h" // from @llvm-project |
157 | 162 | #include "mlir/include/mlir/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.h" // from @llvm-project |
158 | 163 | #include "mlir/include/mlir/Pass/PassManager.h" // from @llvm-project |
159 | 164 | #include "mlir/include/mlir/Pass/PassRegistry.h" // from @llvm-project |
@@ -272,8 +277,15 @@ int main(int argc, char** argv) { |
272 | 277 | mlir::linalg::registerBufferizableOpInterfaceExternalModels(registry); |
273 | 278 | scf::registerBufferizableOpInterfaceExternalModels(registry); |
274 | 279 | tensor::registerBufferizableOpInterfaceExternalModels(registry); |
275 | | - mlir::arith::registerConvertArithToLLVMInterface(registry); |
276 | 280 | mlir::LLVM::registerInlinerInterface(registry); |
| 281 | + mlir::arith::registerConvertArithToLLVMInterface(registry); |
| 282 | + |
| 283 | + // ValueBoundsOpInterface |
| 284 | + mlir::affine::registerValueBoundsOpInterfaceExternalModels(registry); |
| 285 | + mlir::arith::registerValueBoundsOpInterfaceExternalModels(registry); |
| 286 | + mlir::memref::registerValueBoundsOpInterfaceExternalModels(registry); |
| 287 | + mlir::scf::registerValueBoundsOpInterfaceExternalModels(registry); |
| 288 | + mlir::tensor::registerValueBoundsOpInterfaceExternalModels(registry); |
277 | 289 |
|
278 | 290 | // Custom passes in HEIR |
279 | 291 | registerEmitCInterfacePass(); |
|
0 commit comments