This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Add extra extend and trunc costs for cast instructions
ClosedPublic

Authored by dmgreen on Jun 24 2020, 5:48 AM.

Details

Summary

This expands the existing extend costs with a few extras for larger types than legal, which will usually be split under MVE. It also adds trunk support for the same thing. These should not have a large effect on many things, but makes the costs explicit and keeps a certain balance between the trunks and extends.

Diff Detail

Event Timeline

dmgreen created this revision.Jun 24 2020, 5:48 AM
dmgreen updated this revision to Diff 273011.Jun 24 2020, 6:50 AM

Rebase the tests. They were duplicated before.

samparker accepted this revision.Jun 29 2020, 7:27 AM
This revision is now accepted and ready to land.Jun 29 2020, 7:27 AM
This revision was automatically updated to reflect the committed changes.