This is an archive of the discontinued LLVM Phabricator instance.

[flang] Support DOT_PRODUCT in late inlining.
ClosedPublic

Authored by vzakhari on Aug 9 2022, 8:16 PM.

Details

Summary

This change inlines DOT_PRODUCT calls for real and integer types.

Depends on D131530

Diff Detail

Event Timeline

vzakhari created this revision.Aug 9 2022, 8:16 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: mehdi_amini. · View Herald Transcript
vzakhari requested review of this revision.Aug 9 2022, 8:16 PM
Leporacanthicus accepted this revision.Aug 10 2022, 2:45 AM

Only minor nit on the name of test functions.

flang/test/Transforms/simplifyintrinsics.fir
512

Can we remove the _QP (which is just Fortran name mangling) and perhaps also name each function something different - if nothing else because at least SOMETIMES it makes it easier to search for the test you care about.

This revision is now accepted and ready to land.Aug 10 2022, 2:45 AM
vzakhari added inline comments.Aug 10 2022, 9:46 AM
flang/test/Transforms/simplifyintrinsics.fir
512

Sounds reasonable. I will do it.

vzakhari updated this revision to Diff 451533.Aug 10 2022, 9:56 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptAug 10 2022, 4:33 PM