You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Encoding] Revisit the need of EncodingNopLayout resolver #20846
There are no codegen specifics in the resolver, and we have a similar resolver -- IdentityEncodingAttr. This is the issue for tracking EncodingNopLayout deprecation. We should maybe rename IdentityEncodingAttr to IdentityResolverAttr. I will list out all the encodings, encoding resolvers in #20742 and fix it later.
I think the EncodingNopLayout resolver is easier to drop after we finish the interface work and collapse two codegen encoding materialization passes: #20160
I'll help remove it after that. The immediate need is to rename it to identity_resolver and introduce the identity encoding attribute. This reduces the confusion when we abuse pad_encoding_layout with zero values to represent identity layout.
Activity
hanhanW commentedon May 19, 2025
I think the EncodingNopLayout resolver is easier to drop after we finish the interface work and collapse two codegen encoding materialization passes: #20160
I'll help remove it after that. The immediate need is to rename it to
identity_resolverand introduce theidentityencoding attribute. This reduces the confusion when we abuse pad_encoding_layout with zero values to represent identity layout.hanhanW commentedon Sep 16, 2025
The renamed identity resolver is
iree/compiler/src/iree/compiler/Dialect/Encoding/IR/EncodingAttrs.td
Lines 328 to 343 in 3ac574a
We are able to implement the interface methods for the resolver and drops EncodingNopLayout resolver
[DT] Implement LayoutMaterializerAttr for identity resolver. (iree-or…
[DT] Implement LayoutMaterializerAttr for identity resolver. (iree-or…