This is an archive of the discontinued LLVM Phabricator instance.

[flang][lowering] Add support for lowering of the `i{a}char` intrinsics
ClosedPublic

Authored by awarzynski on Mar 16 2022, 4:33 AM.

Details

Summary

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

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>

Diff Detail

Event Timeline

awarzynski created this revision.Mar 16 2022, 4:33 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
awarzynski requested review of this revision.Mar 16 2022, 4:33 AM
clementval accepted this revision.Mar 16 2022, 4:54 AM

LGTM.

Good job to bundle them together when we can :-)

This revision is now accepted and ready to land.Mar 16 2022, 4:54 AM
vdonaldson accepted this revision.Mar 16 2022, 9:59 AM

There is an ibclr.f90 test if that could be included as well.

There is an ibclr.f90 test if that could be included as well.

I've added it in https://reviews.llvm.org/D121789.