[Mlir-commits] [mlir] [mlir]: Added properties/attributes ignore flags to OperationEquivalence (PR #141664)
Krzysztof Drewniak
llvmlistbot at llvm.org
Wed May 28 08:19:46 PDT 2025
================
@@ -1322,7 +1322,14 @@ struct OperationEquivalence {
// When provided, the location attached to the operation are ignored.
IgnoreLocations = 1,
- LLVM_MARK_AS_BITMASK_ENUM(/* LargestValue = */ IgnoreLocations)
+ // When provided, the dictionary attributes attached to the operation are
+ // ignored.
+ IgnoreDictionaryAttrs = 2,
----------------
krzysz00 wrote:
I think this should be named IgnoreDiscardableAttrs? And you'll want to clarify that inherent attributes are part of "properties"
Or you need three flags: inherent attributes, discardable attributes, and properties?
https://github.com/llvm/llvm-project/pull/141664
More information about the Mlir-commits
mailing list