[Mlir-commits] [mlir] 513463b - Apply clang-tidy fixes for llvm-qualified-auto to MLIR (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Sat Jan 1 17:22:01 PST 2022
Author: Mehdi Amini
Date: 2022-01-02T01:21:40Z
New Revision: 513463b589c9472d8a8454e95cd0c5d9acbb47fb
URL: https://github.com/llvm/llvm-project/commit/513463b589c9472d8a8454e95cd0c5d9acbb47fb
DIFF: https://github.com/llvm/llvm-project/commit/513463b589c9472d8a8454e95cd0c5d9acbb47fb.diff
LOG: Apply clang-tidy fixes for llvm-qualified-auto to MLIR (NFC)
Reviewed By: rriddle, Mogball
Differential Revision: https://reviews.llvm.org/D116355
Added:
Modified:
mlir/lib/Analysis/Utils.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Analysis/Utils.cpp b/mlir/lib/Analysis/Utils.cpp
index a9697ca83a5a7..e6fe34996359e 100644
--- a/mlir/lib/Analysis/Utils.cpp
+++ b/mlir/lib/Analysis/Utils.cpp
@@ -817,9 +817,9 @@ mlir::computeSliceUnion(ArrayRef<Operation *> opsA, ArrayRef<Operation *> opsB,
FlatAffineValueConstraints sliceUnionCst;
assert(sliceUnionCst.getNumDimAndSymbolIds() == 0);
std::vector<std::pair<Operation *, Operation *>> dependentOpPairs;
- for (auto i : opsA) {
+ for (auto *i : opsA) {
MemRefAccess srcAccess(i);
- for (auto j : opsB) {
+ for (auto *j : opsB) {
MemRefAccess dstAccess(j);
if (srcAccess.memref != dstAccess.memref)
continue;
More information about the Mlir-commits
mailing list