This is an archive of the discontinued LLVM Phabricator instance.

[fir] Add character conversion pass
ClosedPublic

Authored by clementval on Oct 8 2021, 6:33 AM.

Details

Summary

Upstream the character conversion pass.
Translates entities of one CHARACTER KIND to another.
By default the translation is to naively zero-extend or truncate a code
point to fit the destination size.

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

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

Diff Detail

Event Timeline

clementval created this revision.Oct 8 2021, 6:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 8 2021, 6:33 AM
Herald added a subscriber: mgorny. · View Herald Transcript
clementval requested review of this revision.Oct 8 2021, 6:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 8 2021, 6:33 AM
schweitz accepted this revision.Oct 8 2021, 10:54 AM
This revision is now accepted and ready to land.Oct 8 2021, 10:54 AM
This revision was automatically updated to reflect the committed changes.