diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2021-11-23 06:35:37 +0000 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2021-11-24 02:06:17 +0000 |
commit | 8ec0f221843c51096cf3e7a479e780be371388a8 (patch) | |
tree | 681b1367c1aefbba32873ae53e6d4a7a5b7be01a /llvm/lib/Transforms/Utils/Local.cpp | |
parent | 22ced33a2f769815834efdd0eb0b25172c6f8a61 (diff) | |
download | llvm-8ec0f221843c51096cf3e7a479e780be371388a8.zip llvm-8ec0f221843c51096cf3e7a479e780be371388a8.tar.gz llvm-8ec0f221843c51096cf3e7a479e780be371388a8.tar.bz2 |
Update fir.insert_on_range syntax to make the range more explicit (NFC)
Also replace ArrayAttr with IndexElementsAttr to model subscript dimensions.
An array of attribute is a sparse inefficient storage, with an API that
requires to unpack/repack integers at every call site.
Instead we can store dense array of integer as IndexElementsAttr.
Reviewed By: clementval, kiranchandramohan
Differential Revision: https://reviews.llvm.org/D112899
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions