This is an archive of the discontinued LLVM Phabricator instance.

[fir] Add fir.string_lit conversion
ClosedPublic

Authored by clementval on Nov 16 2021, 5:55 AM.

Details

Summary

This patch adds the conversion pattern for
the fir.string_lit operation.

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

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

Diff Detail

Event Timeline

clementval created this revision.Nov 16 2021, 5:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 16 2021, 5:55 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Nov 16 2021, 5:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 16 2021, 5:55 AM
awarzynski accepted this revision.Nov 16 2021, 8:08 AM

LG, thanks!

flang/lib/Optimizer/CodeGen/CodeGen.cpp
477–496

[nit] else is not really required.

This revision is now accepted and ready to land.Nov 16 2021, 8:08 AM

Rebase + remove useless else

clementval marked an inline comment as done.Nov 16 2021, 11:36 AM
This revision was automatically updated to reflect the committed changes.