This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Add basic masked load/store costs
ClosedPublic

Authored by dmgreen on Aug 25 2020, 6:40 AM.

Details

Summary

This adds some basic MVE masked load/store costs, notably changing the cost of legal loads/stores to the MVECostFactor and the cost of scalarized instructions to 8*NumElts.

Diff Detail

Event Timeline

dmgreen created this revision.Aug 25 2020, 6:40 AM
dmgreen requested review of this revision.Aug 25 2020, 6:40 AM
samparker accepted this revision.Aug 25 2020, 7:46 AM

Those costs look very reasonable to me.

This revision is now accepted and ready to land.Aug 25 2020, 7:46 AM
This revision was automatically updated to reflect the committed changes.