[flang] Lower adjustl and adjustr intrinsics
authorValentin Clement <clementval@gmail.com>
Wed, 16 Mar 2022 10:34:33 +0000 (11:34 +0100)
committerValentin Clement <clementval@gmail.com>
Wed, 16 Mar 2022 10:35:28 +0000 (11:35 +0100)
commit10766b75ceb39d35d9d278bff0aa5be0ab3a680f
tree57cac060a26c8125941941079eed4235c5213cb3
parenta16eddb2b40d7d81b4c3f86127db35dace58024a
[flang] Lower adjustl and adjustr intrinsics

This patch adds lowering for the `adjustl` and `adjustr`
intrinsics.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D121780

Co-authored-by: V Donaldson <vdonaldson@nvidia.com>
Co-authored-by: Jean Perier <jperier@nvidia.com>
flang/lib/Lower/IntrinsicCall.cpp
flang/test/Lower/Intrinsics/adjustl.f90 [new file with mode: 0644]
flang/test/Lower/Intrinsics/adjustr.f90 [new file with mode: 0644]