This is an archive of the discontinued LLVM Phabricator instance.

[flang][hlfir] Turn fir.char<1> results into hlfir.expr<fir.char<1>>
ClosedPublic

Authored by jeanPerier on Feb 3 2023, 7:15 AM.

Details

Summary

This gets rid of a special case with CHAR() intrinsic and BIND(C) results.
I tested this has no impact on the LLVM assembly when LLVM opt -01 or
more is run.
See comment in the patch for more details.

Diff Detail

Event Timeline

jeanPerier created this revision.Feb 3 2023, 7:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 3 2023, 7:15 AM
jeanPerier requested review of this revision.Feb 3 2023, 7:15 AM
This revision is now accepted and ready to land.Feb 3 2023, 12:27 PM