This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Update trunc costs
ClosedPublic

Authored by dmgreen on Jan 7 2021, 1:28 PM.

Details

Summary

We did not have specific costs for larger than legal truncates that were not otherwise cheap (where they were next to stores, for example). As MVE does not have a dedicated instruction for them (and we do not use loads/stores yet), they should be expensive as they get expanded to a series of lane moves.

Diff Detail

Event Timeline

dmgreen created this revision.Jan 7 2021, 1:28 PM
dmgreen requested review of this revision.Jan 7 2021, 1:28 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 7 2021, 1:28 PM
samtebbs accepted this revision.Jan 8 2021, 6:32 AM
This revision is now accepted and ready to land.Jan 8 2021, 6:32 AM
This revision was automatically updated to reflect the committed changes.