This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Add hasSVEorSME() helper and fix some incorrect checks
ClosedPublic

Authored by benmxwl-arm on Nov 23 2022, 7:28 AM.

Details

Summary

This adds a little hasSVEorSME() helper, and as a NFC updates existing
to use it. The assertions get[Min|Max]SVEVectorSizeInBits() are also
now corrected to use hasSVEorSME() rather than just hasSVE().

Diff Detail