[mlir][Linalg] Apply ClangTidy performance finding.
authorAdrian Kuegel <akuegel@google.com>
Fri, 2 Sep 2022 08:57:28 +0000 (10:57 +0200)
committerAdrian Kuegel <akuegel@google.com>
Fri, 2 Sep 2022 08:57:28 +0000 (10:57 +0200)
commit3730658ed95cd82cc2942f39d55610a5d98f8b23
tree0f72a45067e94a264c3dfe971baeab70ded8685c
parent1334e129a39cb427e7b855e9a711a3e7604e50e5
[mlir][Linalg] Apply ClangTidy performance finding.

Loop variable is copied but only used as const reference.
mlir/lib/Dialect/Linalg/Utils/Utils.cpp