This is an archive of the discontinued LLVM Phabricator instance.

[flang] Add hlfir.concat operation definition
ClosedPublic

Authored by jeanPerier on Nov 24 2022, 3:36 AM.

Details

Summary

This operation represents scalar character concatenation. This is
added as part of flang lowering update described in
https://github.com/llvm/llvm-project/blob/main/flang/docs/HighLevelFIR.md

A notable difference with Fortran concatenation is that hlfir.concat can
take two or more operands. This will be used to optimize concatenation
chains.

Diff Detail

Event Timeline

jeanPerier created this revision.Nov 24 2022, 3:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 24 2022, 3:36 AM
jeanPerier requested review of this revision.Nov 24 2022, 3:36 AM
This revision is now accepted and ready to land.Nov 24 2022, 10:21 AM
This revision was automatically updated to reflect the committed changes.