[Mlir-commits] [mlir] [mlir] MLIR-QUERY DefinitionsMatcher implementation & DAG (PR #115670)

Jacques Pienaar llvmlistbot at llvm.org
Thu Jan 9 22:55:08 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;
----------------
jpienaar wrote:

Why is this change needed?

https://github.com/llvm/llvm-project/pull/115670


More information about the Mlir-commits mailing list