[flang][hlfir] Parse unordered attribute for elemental operations.
authorSlava Zakharin <szakharin@nvidia.com>
Thu, 29 Jun 2023 16:41:43 +0000 (09:41 -0700)
committerSlava Zakharin <szakharin@nvidia.com>
Thu, 29 Jun 2023 17:35:43 +0000 (10:35 -0700)
commit583168ee86a72be2ed05744ae601e42ecae0d14a
tree68ed9546bba4d93dd6a06733cbde7ac60517872f
parent5983b8b6d33291ec14a55706670536a92b123989
[flang][hlfir] Parse unordered attribute for elemental operations.

By default, `hlfir.elemental` and `hlfir.elemental_addr` must process
the elements in order. The `unordered` attribute may be set,
if it is safe to process the elements out of order.
This patch just adds parsing support for the new attribute.

Reviewed By: jeanPerier, tblah

Differential Revision: https://reviews.llvm.org/D154032
flang/include/flang/Optimizer/HLFIR/HLFIROps.td
flang/test/HLFIR/element-addr.fir
flang/test/HLFIR/elemental.fir