[Mlir-commits] [mlir] [mlir] MLIR-QUERY DefinitionsMatcher implementation & DAG (PR #115670)
Denzel-Brian Budii
llvmlistbot at llvm.org
Sat Jan 25 05:47:47 PST 2025
================
@@ -59,15 +59,15 @@ struct NameOpMatcher {
NameOpMatcher(StringRef name) : name(name) {}
bool match(Operation *op) { return op->getName().getStringRef() == name; }
- StringRef name;
+ std::string name;
----------------
chios202 wrote:
I let this for now as it is, even though we are not introducing the LetQuery feature now. I think it's still a good thing to prevent future bugs, but I could revert this back to `StringRef`.
https://github.com/llvm/llvm-project/pull/115670
More information about the Mlir-commits
mailing list