Skip to content

Commit

Permalink
Apply clang-tidy fixes for llvm-qualified-auto in Tiling.cpp (NFC)
Browse files Browse the repository at this point in the history
  • Loading branch information
joker-eph committed Oct 11, 2022
1 parent 5fbec2d commit 4e5568d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ static FailureOr<ForeachThreadTilingResult> tileToForeachThreadOpImpl(
auto destinationStyleOp = dyn_cast<DestinationStyleOpInterface>(clonedOp);
if (destinationStyleOp) {
for (OpOperand *outOperand : destinationStyleOp.getOutputOperands()) {
auto it = llvm::find(dest, outOperand->get());
auto *it = llvm::find(dest, outOperand->get());
assert(it != dest.end() && "dest operand not found in dest");
unsigned destNum = std::distance(dest.begin(), it);
outOperand->set(destBbArgs[destNum]);
Expand Down

0 comments on commit 4e5568d

Please sign in to comment.