aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Option/OptTable.cpp
diff options
context:
space:
mode:
authorJean Perier <jperier@nvidia.com>2022-12-09 10:09:35 +0100
committerJean Perier <jperier@nvidia.com>2022-12-09 10:11:37 +0100
commitb013ebe059d931fc30dd7283166300e7cc3a86d9 (patch)
treea8e819e577f9c5ea724eabf5a0c30d0c60dbfce3 /llvm/lib/Option/OptTable.cpp
parent4faf00006cf989f3ae212912994022c0486a2dc4 (diff)
downloadllvm-b013ebe059d931fc30dd7283166300e7cc3a86d9.zip
llvm-b013ebe059d931fc30dd7283166300e7cc3a86d9.tar.gz
llvm-b013ebe059d931fc30dd7283166300e7cc3a86d9.tar.bz2
[flang] Lower intrinsics to HLFIR part 1
This patch adds support for lowering intrinsics that have no dynamic optionality aspects to handle and that requires argument to be lowered to value, addr, or box. It uses the current intrinsic lowering framework that can be re-used in HLFIR to start with. HLFIR operations for charater/transformational intrinsics will be added as needed from an optimization point of view. The current approach will still create temporary variables for their value directly in lowering. Later patch will still need to add: - support for dynamically optional arguments - inquires - "moving" the in memory computation of character and transformational intrinsics to hlfir.expr. This is not needed from a semantic point of view, but will help optimizing and will probably be required inside hlfir.elemental returning characters so that the returned element type is an hlfir.expr and match the result type of later hlfir.apply. Differential Revision: https://reviews.llvm.org/D139613
Diffstat (limited to 'llvm/lib/Option/OptTable.cpp')
0 files changed, 0 insertions, 0 deletions