[Mlir-commits] [mlir] 9c1861b - [mlir][NFC] Remove unused includes (#98557)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Jul 11 14:54:08 PDT 2024
Author: Pranav Kant
Date: 2024-07-11T14:54:04-07:00
New Revision: 9c1861bd5de0174fded95ea76c46ad7c7175af8b
URL: https://github.com/llvm/llvm-project/commit/9c1861bd5de0174fded95ea76c46ad7c7175af8b
DIFF: https://github.com/llvm/llvm-project/commit/9c1861bd5de0174fded95ea76c46ad7c7175af8b.diff
LOG: [mlir][NFC] Remove unused includes (#98557)
Adding dep to TosaDialect increases binary size unnecessarily
Added:
Modified:
mlir/lib/Dialect/Linalg/Transforms/WinogradConv2D.cpp
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Linalg/Transforms/WinogradConv2D.cpp b/mlir/lib/Dialect/Linalg/Transforms/WinogradConv2D.cpp
index 9b8fa7cf6bac1..18dd4769f9a49 100644
--- a/mlir/lib/Dialect/Linalg/Transforms/WinogradConv2D.cpp
+++ b/mlir/lib/Dialect/Linalg/Transforms/WinogradConv2D.cpp
@@ -15,9 +15,7 @@
#include "mlir/Dialect/Linalg/IR/Linalg.h"
#include "mlir/Dialect/Linalg/Utils/Utils.h"
#include "mlir/Dialect/Tensor/IR/Tensor.h"
-#include "mlir/Dialect/Tosa/Utils/ConversionUtils.h"
#include "mlir/Dialect/Utils/StaticValueUtils.h"
-#include "mlir/Transforms/GreedyPatternRewriteDriver.h"
#include "llvm/Support/MathExtras.h"
namespace mlir {
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 46d57d512b0ca..ab3757342c76f 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -11350,7 +11350,6 @@ cc_library(
":TensorTransforms",
":TensorUtils",
":TilingInterface",
- ":TosaDialect",
":TransformUtils",
":ValueBoundsOpInterface",
":VectorDialect",
More information about the Mlir-commits
mailing list