Renaming AttributeDef to IndexAttrDef prepares OpDSL to support different kinds of attributes and more closely reflects the purpose of the attribute.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D115237
[mlir][OpDSL] Rename `AttributeDef` to `IndexAttrDef`. ClosedPublic Authored by gysit on Dec 7 2021, 4:38 AM.
Details Summary Renaming AttributeDef to IndexAttrDef prepares OpDSL to support different kinds of attributes and more closely reflects the purpose of the attribute.
Diff Detail
Event TimelineHerald added subscribers: sdasgup3, wenzhicui, wrengr and 22 others. · View Herald TranscriptDec 7 2021, 4:38 AM This revision is now accepted and ready to land.Dec 13 2021, 1:24 AM Closed by commit rG2648e2d5ddd7: [mlir][OpDSL] Rename `AttributeDef` to `IndexAttrDef`. (authored by gysit). · Explain WhyJan 7 2022, 4:17 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 392353 mlir/docs/Dialects/Linalg/OpDSL.md
mlir/python/mlir/dialects/linalg/opdsl/lang/comprehension.py
mlir/python/mlir/dialects/linalg/opdsl/lang/dsl.py
mlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
mlir/test/mlir-linalg-ods-gen/test-linalg-ods-yaml-gen.yaml
mlir/test/python/dialects/linalg/opdsl/arguments.py
mlir/test/python/dialects/linalg/opdsl/emit_convolution.py
mlir/test/python/dialects/linalg/opdsl/emit_pooling.py
|