[Mlir-commits] [mlir] [mlir] Fix use-after-move issues (PR #165660)
Mehdi Amini
llvmlistbot at llvm.org
Wed Oct 29 23:33:16 PDT 2025
================
----------------
joker-eph wrote:
```suggestion
StringRef functionName = matcher.getFunctionName();
auto matches = finder.collectMatches(rootOp, std::move(matcher));
// An extract call is recognized by considering if the matcher has a name.
// TODO: Consider making the extract more explicit.
if (!functionName.empty()) {
```
https://github.com/llvm/llvm-project/pull/165660
More information about the Mlir-commits
mailing list