[Mlir-commits] [mlir] bfbf3bc - [mlir][sparse] fix build breakage due to Arith name change
Aart Bik
llvmlistbot at llvm.org
Thu Sep 29 12:12:53 PDT 2022
Author: Aart Bik
Date: 2022-09-29T12:12:43-07:00
New Revision: bfbf3bcb374ba75da839ce4a9b43ac1ffecd3ea1
URL: https://github.com/llvm/llvm-project/commit/bfbf3bcb374ba75da839ce4a9b43ac1ffecd3ea1
DIFF: https://github.com/llvm/llvm-project/commit/bfbf3bcb374ba75da839ce4a9b43ac1ffecd3ea1.diff
LOG: [mlir][sparse] fix build breakage due to Arith name change
Reviewed By: Peiming
Differential Revision: https://reviews.llvm.org/D134899
Added:
Modified:
mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
mlir/lib/Dialect/SparseTensor/Transforms/SparseBufferRewriting.cpp
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td b/mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
index 086d1cb71140..d97bead8d296 100644
--- a/mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
+++ b/mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
@@ -187,7 +187,7 @@ def SparseBufferRewrite : Pass<"sparse-buffer-rewrite", "ModuleOp"> {
}];
let constructor = "mlir::createSparseBufferRewritePass()";
let dependentDialects = [
- "arith::ArithmeticDialect",
+ "arith::ArithDialect",
"memref::MemRefDialect",
"scf::SCFDialect",
"sparse_tensor::SparseTensorDialect",
diff --git a/mlir/lib/Dialect/SparseTensor/Transforms/SparseBufferRewriting.cpp b/mlir/lib/Dialect/SparseTensor/Transforms/SparseBufferRewriting.cpp
index 7b02d46a1569..137f82f0abc0 100644
--- a/mlir/lib/Dialect/SparseTensor/Transforms/SparseBufferRewriting.cpp
+++ b/mlir/lib/Dialect/SparseTensor/Transforms/SparseBufferRewriting.cpp
@@ -13,7 +13,7 @@
#include "CodegenUtils.h"
-#include "mlir/Dialect/Arithmetic/IR/Arithmetic.h"
+#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/Dialect/SCF/IR/SCF.h"
More information about the Mlir-commits
mailing list