[Mlir-commits] [mlir] [mlir] Method to iterate over registered operations for a given dialect class. (PR #112344)
Rajveer Singh Bharadwaj
llvmlistbot at llvm.org
Wed Oct 16 03:28:22 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;
----------------
Rajveer100 wrote:
Reverted this, since now we continue to use `ArrayRef` as the return type. I had initially changed the type to `SmallVector` which caused the old logic to throw an error for `=`.
https://github.com/llvm/llvm-project/pull/112344
More information about the Mlir-commits
mailing list