[flang][hlfir] Do not inline ordered elementals.
authorSlava Zakharin <szakharin@nvidia.com>
Thu, 29 Jun 2023 17:39:40 +0000 (10:39 -0700)
committerSlava Zakharin <szakharin@nvidia.com>
Thu, 29 Jun 2023 18:16:38 +0000 (11:16 -0700)
commit65379d40cf0f9f8aa26a1cba3b29e03b7f44fcbf
tree80409b7514f5d45b5e87b8d1d135dd26fe908a8e
parent13f16f4dea14a5efc4d471e02317b8ffb77a0896
[flang][hlfir] Do not inline ordered elementals.

This patch just disables inlining of ordered hlfir.elemental operations.
Proving the safeness of inlining is left for future development.

Depends on D154032

Reviewed By: jeanPerier, tblah

Differential Revision: https://reviews.llvm.org/D154034
flang/lib/Optimizer/HLFIR/Transforms/InlineElementals.cpp
flang/test/HLFIR/inline-elemental.fir