Update ElementsAttr::isValidIndex to handle ElementsAttr with a scalar. Scalar will have rank 0.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D95663
Update ElementsAttr::isValidIndex to handle ElementsAttr with a scalar. Scalar will have rank 0. ClosedPublic Authored by karimnosseir on Jan 28 2021, 9:13 PM.
Details Summary Update ElementsAttr::isValidIndex to handle ElementsAttr with a scalar. Scalar will have rank 0.
Diff Detail
Event TimelineHerald added subscribers: teijeong, rdzhabarov, tatianashp and 15 others. · View Herald TranscriptJan 28 2021, 9:13 PM This revision is now accepted and ready to land.Jan 29 2021, 4:15 PM This revision was landed with ongoing or failed builds.Jan 29 2021, 4:56 PM Closed by commit rG0af25275364e: Update ElementsAttr::isValidIndex to handle ElementsAttr with a scalar. Scalar… (authored by karimnosseir, committed by jpienaar). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 320240 mlir/lib/IR/BuiltinAttributes.cpp
mlir/unittests/IR/AttributeTest.cpp
|