[Mlir-commits] [mlir] baeb4ec - Apply clang-tidy fixes for llvm-qualified-auto in ConstantFold.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Fri Sep 2 06:44:53 PDT 2022
Author: Mehdi Amini
Date: 2022-09-02T13:44:24Z
New Revision: baeb4ec44ba601b61f0e23b4e808384eb329d148
URL: https://github.com/llvm/llvm-project/commit/baeb4ec44ba601b61f0e23b4e808384eb329d148
DIFF: https://github.com/llvm/llvm-project/commit/baeb4ec44ba601b61f0e23b4e808384eb329d148.diff
LOG: Apply clang-tidy fixes for llvm-qualified-auto in ConstantFold.cpp (NFC)
Added:
Modified:
mlir/lib/Dialect/Linalg/Transforms/ConstantFold.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Linalg/Transforms/ConstantFold.cpp b/mlir/lib/Dialect/Linalg/Transforms/ConstantFold.cpp
index e46f7aefde1a..58a54bae2239 100644
--- a/mlir/lib/Dialect/Linalg/Transforms/ConstantFold.cpp
+++ b/mlir/lib/Dialect/Linalg/Transforms/ConstantFold.cpp
@@ -122,7 +122,7 @@ class FoldConstantBase : public OpRewritePattern<GenericOp> {
// Identified this as a potential candidate for folding. Now check the
// policy to see whether we are allowed to proceed.
- for (auto operand : genericOp.getInputOperands()) {
+ for (auto *operand : genericOp.getInputOperands()) {
if (!controlFn(operand))
return failure();
}
More information about the Mlir-commits
mailing list