This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Add HasNEON for all neon patterns in ARMInstrNEON.td. NFCI
ClosedPublic

Authored by dmgreen on Jun 6 2019, 3:34 AM.

Details

Summary

We are starting to add an entirely separate vector architecture to the ARM backend. To do that we need at least some separation between the NEON and the new MVE code. This patch just goes through the Neon patterns and ensures that they are predicated on HasNEON, giving MVE a stable place to start from.

No tests yet as this is largely an NFC, and we don't have another target that will treat any of these as legal yet.

Diff Detail

Repository
rL LLVM

Event Timeline

dmgreen created this revision.Jun 6 2019, 3:34 AM
samparker accepted this revision.Jun 7 2019, 12:26 AM

LGTM. Yes, a bit difficult to test atm!

This revision is now accepted and ready to land.Jun 7 2019, 12:26 AM
This revision was automatically updated to reflect the committed changes.