summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJean Perier <jperier@nvidia.com>2023-06-27 13:30:15 +0200
committerJean Perier <jperier@nvidia.com>2023-06-27 13:30:24 +0200
commit6c14e849266e55a022d54ef4dcf09a1c93dcefda (patch)
tree5698b49e1e04365d2419fb7c1f96fda5a7bab6b8 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent72c826cf6ce9d16c512c00d6c8744292392c9116 (diff)
[flang][hlfir] Add codegen for vector subscripted LHS
This patch adds support for vector subscripted assignment left-hand side. It does not yet add support for the cases where the LHS must be saved because its evaluation could be impacted by the assignment. The implementation adds an hlfir::ElementalOpInterface to share the elemental inlining utility and some other tools between hlfir::ElementalOp and hlfir::ElelemntalAddrOp. It adds generateYieldedLHS() to allow retrieving the LHS value in lowering, whether or not it is vector subscripted. If it is vector subscripted, this utility creates a loop nest iterating over the elements and returns the address of an element. Differential Revision: https://reviews.llvm.org/D153759
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions