[flang] Lower pack|unpack intrinsics
authorValentin Clement <clementval@gmail.com>
Wed, 16 Mar 2022 20:11:57 +0000 (21:11 +0100)
committerValentin Clement <clementval@gmail.com>
Wed, 16 Mar 2022 20:12:46 +0000 (21:12 +0100)
commit65cb2e1ed18691c14cc12ab3776beb7fe81bd053
treed2fb495055cefd2596567bcc3dea739f61e770cd
parent470a975c84f435303823a302871de4dfe72c5b10
[flang] Lower pack|unpack intrinsics

This patch adds lowering for the `pack` and `unpack`
intrinsics.

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

Reviewed By: schweitz

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

Co-authored-by: Peter Steinfeld <psteinfeld@nvidia.com>
Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: mleair <leairmark@gmail.com>
Co-authored-by: Kiran Chandramohan <kiran.chandramohan@arm.com>
flang/lib/Lower/IntrinsicCall.cpp
flang/test/Lower/Intrinsics/pack.f90 [new file with mode: 0644]
flang/test/Lower/transformational-intrinsics.f90 [new file with mode: 0644]