Page MenuHomePhabricator

[SVE][CodeGen] Add new EVT/MVT getFixedSizeInBits() functions
ClosedPublic

Authored by david-arm on Thu, Oct 1, 5:09 AM.

Details

Summary

When we know that a particular type is always going to be fixed
width we have so far been writing code like this:

getSizeInBits().getFixedSize()

Since we are doing this in quite a few places now it seems to make
sense to add a new helper function that allows us to replace
these calls with a single getFixedSizeInBits() call.

Diff Detail

Event Timeline

david-arm created this revision.Thu, Oct 1, 5:09 AM
david-arm requested review of this revision.Thu, Oct 1, 5:09 AM
efriedma accepted this revision.Thu, Oct 1, 7:12 AM

LGTM, thanks

This revision is now accepted and ready to land.Thu, Oct 1, 7:12 AM
This revision was landed with ongoing or failed builds.Fri, Oct 2, 12:11 AM
This revision was automatically updated to reflect the committed changes.