[Mlir-commits] [llvm] [mlir] [mlir][NFC] Remove unused includes (PR #98557)
Pranav Kant
llvmlistbot at llvm.org
Thu Jul 11 14:46:38 PDT 2024
https://github.com/pranavk created https://github.com/llvm/llvm-project/pull/98557
Adding dep to TosaDialect increases binary size unnecessarily
>From 391d5167f9d97b91d07d1413411e6aeb066fb333 Mon Sep 17 00:00:00 2001
From: Pranav Kant <prka at google.com>
Date: Thu, 11 Jul 2024 21:45:40 +0000
Subject: [PATCH] [mlir][NFC] Remove unused includes
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 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