[Mlir-commits] [mlir] [MLIR][TableGen] Migrate MLIR backend to use const RecordKeeper (PR #107505)

Rahul Joshi llvmlistbot at llvm.org
Sat Sep 7 15:12:45 PDT 2024


================
@@ -30,7 +30,7 @@ using namespace mlir::tblgen;
 /// Find all the AttrOrTypeDef for the specified dialect. If no dialect
 /// specified and can only find one dialect's defs, use that.
 static void collectAllDefs(StringRef selectedDialect,
-                           std::vector<llvm::Record *> records,
+                           const std::vector<const llvm::Record *> &records,
----------------
jurahul wrote:

Done.

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


More information about the Mlir-commits mailing list