The element type enum is not needed to differentiate dense array kinds
because the element type of the shaped type can be used instead.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D132535
[mlir] Remove the element type enum from DenseArrayAttr ClosedPublic Authored by Mogball on Aug 23 2022, 11:24 PM.
Details Summary The element type enum is not needed to differentiate dense array kinds
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 24 2022, 1:58 AM
This revision was landed with ongoing or failed builds.Aug 24 2022, 5:02 PM Closed by commit rG444683a9de4b: [mlir] Remove the element type enum from DenseArrayAttr (authored by Mogball). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 455084 mlir/include/mlir/IR/BuiltinAttributes.h
mlir/include/mlir/IR/BuiltinAttributes.td
mlir/lib/IR/BuiltinAttributes.cpp
mlir/test/lib/IR/TestBuiltinAttributeInterfaces.cpp
|
Why didn't we declare the type as "RankedTensor" here?