This is an archive of the discontinued LLVM Phabricator instance.

[Flang] Lower the trim intrinsic
ClosedPublic

Authored by kiranchandramohan on Mar 17 2022, 4:03 AM.

Details

Summary

The trim intrinsic removes trailing blank spaces from a string. The
intrinsic is lowered to a runtime call.

This is part of the upstreaming effort from the fir-dev branch in [1].
[1] https://github.com/flang-compiler/f18-llvm-project

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

Diff Detail

Event Timeline

Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 17 2022, 4:03 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
kiranchandramohan requested review of this revision.Mar 17 2022, 4:03 AM
This revision is now accepted and ready to land.Mar 17 2022, 4:47 AM
This revision was automatically updated to reflect the committed changes.