[Mlir-commits] [mlir] 08482fa - Apply clang-tidy fixes for llvm-qualified-auto in LinalgInterfaces.cpp (NFC)

Mehdi Amini llvmlistbot at llvm.org
Mon May 16 06:59:14 PDT 2022


Author: Mehdi Amini
Date: 2022-05-16T13:58:49Z
New Revision: 08482fa05882560a34d9b1a30b387496b86cedf9

URL: https://github.com/llvm/llvm-project/commit/08482fa05882560a34d9b1a30b387496b86cedf9
DIFF: https://github.com/llvm/llvm-project/commit/08482fa05882560a34d9b1a30b387496b86cedf9.diff

LOG: Apply clang-tidy fixes for llvm-qualified-auto in LinalgInterfaces.cpp (NFC)

Added: 
    

Modified: 
    mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp b/mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
index 4729dea98402c..a85b1f0ab4051 100644
--- a/mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
+++ b/mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
@@ -30,7 +30,7 @@ using namespace mlir::linalg;
 bool linalg::detail::canOpOperandsBeDroppedImpl(
     linalg::LinalgOp linalgOp, ArrayRef<OpOperand *> droppedOperands) {
   SmallVector<AffineMap> indexingMaps;
-  for (auto opOperand : linalgOp.getInputAndOutputOperands()) {
+  for (auto *opOperand : linalgOp.getInputAndOutputOperands()) {
     if (llvm::is_contained(droppedOperands, opOperand))
       continue;
     indexingMaps.push_back(linalgOp.getTiedIndexingMap(opOperand));


        


More information about the Mlir-commits mailing list