From 675038248ca4f6b56c3c435382fbdf1dc1856665 Mon Sep 17 00:00:00 2001 From: Pranav Kant Date: Thu, 11 Jul 2024 14:54:04 -0700 Subject: [PATCH] [mlir][NFC] Remove unused includes (#98557) Adding dep to TosaDialect increases binary size unnecessarily --- mlir/lib/Dialect/Linalg/Transforms/WinogradConv2D.cpp | 2 -- utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 1 - 2 files changed, 3 deletions(-) diff --git a/mlir/lib/Dialect/Linalg/Transforms/WinogradConv2D.cpp b/mlir/lib/Dialect/Linalg/Transforms/WinogradConv2D.cpp index 9b8fa7cf6bac1a..18dd4769f9a497 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 46d57d512b0ca7..ab3757342c76f5 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",