[Mlir-commits] [mlir] 77410f2 - [mlir][tensor] Remove unnecessary include.

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Feb 17 22:50:27 PST 2025


Author: Christian Sigg
Date: 2025-02-18T07:50:23+01:00
New Revision: 77410f2a25529c9675853cf30c76168cccfe0f5d

URL: https://github.com/llvm/llvm-project/commit/77410f2a25529c9675853cf30c76168cccfe0f5d
DIFF: https://github.com/llvm/llvm-project/commit/77410f2a25529c9675853cf30c76168cccfe0f5d.diff

LOG: [mlir][tensor] Remove unnecessary include.

This include introduced an unwanted dependency from tensor to tensor utils.

Added: 
    

Modified: 
    mlir/lib/Dialect/Tensor/IR/TensorOps.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/Tensor/IR/TensorOps.cpp b/mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
index 72e9d4d9c64d9..fad7db48b9872 100644
--- a/mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
+++ b/mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
@@ -12,7 +12,6 @@
 #include "mlir/Dialect/Complex/IR/Complex.h"
 #include "mlir/Dialect/Linalg/IR/LinalgInterfaces.h"
 #include "mlir/Dialect/Tensor/IR/Tensor.h"
-#include "mlir/Dialect/Tensor/Utils/Utils.h"
 #include "mlir/Dialect/Utils/IndexingUtils.h"
 #include "mlir/Dialect/Utils/ReshapeOpsUtils.h"
 #include "mlir/Dialect/Utils/StaticValueUtils.h"


        


More information about the Mlir-commits mailing list