[Mlir-commits] [mlir] [mlir] Method to iterate over registered operations for a given dialect class. (PR #112344)

Stella Laurenzo llvmlistbot at llvm.org
Tue Oct 15 17:03:30 PDT 2024


================
@@ -73,7 +73,7 @@ FrozenRewritePatternSet::FrozenRewritePatternSet(
   // Functor used to walk all of the operations registered in the context. This
   // is useful for patterns that get applied to multiple operations, such as
   // interface and trait based patterns.
-  std::vector<RegisteredOperationName> opInfos;
+  SmallVector<RegisteredOperationName> opInfos;
----------------
stellaraccident wrote:

I'm not immediately seeing why this change is related to the rest of the PR (although probably a good change in general, I would expect)?

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


More information about the Mlir-commits mailing list