This is an archive of the discontinued LLVM Phabricator instance.

[flang][NFC] Enable and migrate to new fold API
ClosedPublic

Authored by zero9178 on Jan 11 2023, 5:46 AM.

Details

Summary

See https://discourse.llvm.org/t/psa-new-improved-fold-method-signature-has-landed-please-update-your-downstream-projects/67618 for context

This simply ports all dialects in flang to use the new fold API. These were relatively little and basically just a function signature change, since in-tree folds did not make use of any of the constant operands values.

Diff Detail

Event Timeline

zero9178 created this revision.Jan 11 2023, 5:46 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 11 2023, 5:46 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
zero9178 requested review of this revision.Jan 11 2023, 5:46 AM
This revision is now accepted and ready to land.Jan 11 2023, 5:47 AM
jeanPerier accepted this revision.Jan 11 2023, 5:52 AM
zero9178 updated this revision to Diff 488202.Jan 11 2023, 7:14 AM

clang-format

This revision was automatically updated to reflect the committed changes.