[flang][lowering] Add support for lowering of the `i{a}char` intrinsics
authorAndrzej Warzynski <andrzej.warzynski@arm.com>
Wed, 16 Mar 2022 11:30:07 +0000 (11:30 +0000)
committerAndrzej Warzynski <andrzej.warzynski@arm.com>
Wed, 16 Mar 2022 17:15:39 +0000 (17:15 +0000)
commit11a12544b5fd4663879ec70c7c0883860be9b69f
tree1ad89a2a3e658749f38f83221e54e46f2c553e49
parent49c048add4c980936fc2918838288ae2d795587d
[flang][lowering] Add support for lowering of the `i{a}char` intrinsics

This patch adds support for lowering of the `i{a}char` intrinsics from
Fortran to the FIR dialect of MLIR.

This is part of the upstreaming effort from the `fir-dev` branch in [1].

[1] https://github.com/flang-compiler/f18-llvm-project

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

Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: Valentin Clement <clementval@gmail.com>
Co-authored-by: V Donaldson <vdonaldson@nvidia.com>
Co-authored-by: zacharyselk <zrselk@gmail.com>
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
flang/lib/Lower/IntrinsicCall.cpp
flang/test/Lower/Intrinsics/ichar.f90 [new file with mode: 0644]