[flang] Lower allocated intrinsic
authorValentin Clement <clementval@gmail.com>
Tue, 15 Mar 2022 21:06:04 +0000 (22:06 +0100)
committerValentin Clement <clementval@gmail.com>
Tue, 15 Mar 2022 21:13:07 +0000 (22:13 +0100)
commit3240a34dbc0991856ad46166056c8dd0b1b73341
tree297aa5d56e026147be6d58d77ce044c4fc38a743
parent1bb13b3f4956370afc01a8a9315dabed8c09a2cd
[flang] Lower allocated intrinsic

This patch adds lowering for the `allocated`
intrinsic.

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

Reviewed By: jeanPerier, PeteSteinfeld

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

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