This is an archive of the discontinued LLVM Phabricator instance.

[fir] Add Character helper
ClosedPublic

Authored by clementval on Oct 20 2021, 8:00 AM.

Details

Summary

This patch is extracted from D111337. It introduce the
CharacterExprHelper that helps dealing with character in FIR.

Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
Co-authored-by: V Donaldson <vdonaldson@nvidia.com>

Diff Detail

Event Timeline

clementval created this revision.Oct 20 2021, 8:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 20 2021, 8:00 AM
clementval requested review of this revision.Oct 20 2021, 8:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 20 2021, 8:00 AM
schweitz accepted this revision.Oct 20 2021, 11:47 AM
This revision is now accepted and ready to land.Oct 20 2021, 11:47 AM
awarzynski accepted this revision.Oct 20 2021, 12:07 PM
awarzynski added a subscriber: awarzynski.

LG, thanks!

flang/include/flang/Optimizer/Builder/Character.h
181

DELETEME

This revision was automatically updated to reflect the committed changes.
clementval marked an inline comment as done.Oct 20 2021, 12:38 PM
clementval reopened this revision.Oct 20 2021, 1:58 PM
This revision is now accepted and ready to land.Oct 20 2021, 1:58 PM

Add optional header

Fix KindMapping initialization

This revision was automatically updated to reflect the committed changes.
clementval reopened this revision.Oct 21 2021, 5:53 AM
This revision is now accepted and ready to land.Oct 21 2021, 5:53 AM

Set up KindMapping with string in order to avoid failure.

This revision was automatically updated to reflect the committed changes.