This is an archive of the discontinued LLVM Phabricator instance.

[flang] fir.emboxchar codegen with static length fir.char types
ClosedPublic

Authored by jeanPerier on Dec 7 2022, 1:17 AM.

Details

Summary

The verifier of fir.emboxchar accepts fir.char<kind, constant> types,
but its codegen failed because of a missing cast. It is convenient and
safe to not require making the cast in FIR, so add it in codegen.

Diff Detail

Event Timeline

jeanPerier created this revision.Dec 7 2022, 1:17 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptDec 7 2022, 1:17 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
jeanPerier requested review of this revision.Dec 7 2022, 1:17 AM
This revision is now accepted and ready to land.Dec 7 2022, 2:51 AM
This revision was landed with ongoing or failed builds.Dec 7 2022, 2:59 AM
This revision was automatically updated to reflect the committed changes.