[Mlir-commits] [mlir] 309b48c - [mlir][vector] Sink StandardOps include to its user in VectorUtils
Benjamin Kramer
llvmlistbot at llvm.org
Thu Feb 3 03:35:04 PST 2022
Author: Benjamin Kramer
Date: 2022-02-03T12:34:41+01:00
New Revision: 309b48ca5ef3c7465acce744bafbaefc15c8595c
URL: https://github.com/llvm/llvm-project/commit/309b48ca5ef3c7465acce744bafbaefc15c8595c
DIFF: https://github.com/llvm/llvm-project/commit/309b48ca5ef3c7465acce744bafbaefc15c8595c.diff
LOG: [mlir][vector] Sink StandardOps include to its user in VectorUtils
Added:
Modified:
mlir/include/mlir/Dialect/Vector/IR/VectorOps.h
mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/Vector/IR/VectorOps.h b/mlir/include/mlir/Dialect/Vector/IR/VectorOps.h
index 5786252ab3149..91378a8b33e55 100644
--- a/mlir/include/mlir/Dialect/Vector/IR/VectorOps.h
+++ b/mlir/include/mlir/Dialect/Vector/IR/VectorOps.h
@@ -14,7 +14,6 @@
#define MLIR_DIALECT_VECTOR_IR_VECTOROPS_H
#include "mlir/Dialect/Arithmetic/IR/Arithmetic.h"
-#include "mlir/Dialect/StandardOps/IR/Ops.h"
#include "mlir/IR/AffineMap.h"
#include "mlir/IR/Attributes.h"
#include "mlir/IR/BuiltinTypes.h"
diff --git a/mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp b/mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
index faa4beae8d41f..800e19ceda71d 100644
--- a/mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
+++ b/mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
@@ -16,6 +16,7 @@
#include "mlir/Dialect/Affine/IR/AffineOps.h"
#include "mlir/Dialect/Arithmetic/IR/Arithmetic.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
+#include "mlir/Dialect/StandardOps/IR/Ops.h"
#include "mlir/Dialect/Tensor/IR/Tensor.h"
#include "mlir/Dialect/Vector/IR/VectorOps.h"
#include "mlir/IR/Builders.h"
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index becce90de56c5..0b96377744820 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -2843,6 +2843,7 @@ cc_library(
":LinalgOps",
":MemRefDialect",
":SCFDialect",
+ ":StandardOps",
":Support",
":TensorDialect",
":VectorInterfaces",
More information about the Mlir-commits
mailing list