This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Improve reduction fadd/fmul costs
ClosedPublic

Authored by dmgreen on Sep 1 2023, 10:23 AM.

Details

Summary

This adds some basic fadd/fmul reduction costs for MVE/NEON. It reduces by halving the vector size until it it gets scalarized, with some additional costs for fp16 which may require extracting the top lanes.

Diff Detail

Event Timeline

dmgreen created this revision.Sep 1 2023, 10:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 1 2023, 10:23 AM
dmgreen requested review of this revision.Sep 1 2023, 10:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 1 2023, 10:23 AM
SjoerdMeijer accepted this revision.Sep 4 2023, 2:08 AM

Looks reasonable

This revision is now accepted and ready to land.Sep 4 2023, 2:08 AM
This revision was landed with ongoing or failed builds.Sep 4 2023, 3:37 AM
This revision was automatically updated to reflect the committed changes.