[Mlir-commits] [mlir] [mlir] Remove unused "using" decls (NFC) (PR #165652)

Kazu Hirata llvmlistbot at llvm.org
Wed Oct 29 22:33:41 PDT 2025


https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/165652

Identified with misc-unused-using-decls.


>From 9a49085a94d16524aca557c2702c5a5c731a6b4b Mon Sep 17 00:00:00 2001
From: Kazu Hirata <kazu at google.com>
Date: Mon, 27 Oct 2025 12:31:25 -0700
Subject: [PATCH] [mlir] Remove unused "using" decls (NFC)

Identified with misc-unused-using-decls.
---
 mlir/lib/Dialect/Tensor/IR/TensorOps.cpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/mlir/lib/Dialect/Tensor/IR/TensorOps.cpp b/mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
index ac7200294a3a6..110bfdce72ea4 100644
--- a/mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
+++ b/mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
@@ -41,10 +41,6 @@
 using namespace mlir;
 using namespace mlir::tensor;
 
-using llvm::divideCeilSigned;
-using llvm::divideFloorSigned;
-using llvm::mod;
-
 /// Materialize a single constant operation from a given attribute value with
 /// the desired resultant type.
 Operation *TensorDialect::materializeConstant(OpBuilder &builder,



More information about the Mlir-commits mailing list