This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Add patterns for VSUB with q and r registers
ClosedPublic

Authored by oliverlars on Sep 6 2019, 5:56 AM.

Details

Summary

Added patterns for VSUB to support q and r registers, which reduces pressure on q registers.

Diff Detail

Repository
rL LLVM

Event Timeline

oliverlars created this revision.Sep 6 2019, 5:56 AM
oliverlars updated this revision to Diff 219095.Sep 6 2019, 7:07 AM

re-added run line and added tests for swapping %src and %sp

dmgreen accepted this revision.Sep 6 2019, 8:17 AM

LGTM. Nice one.

llvm/lib/Target/ARM/ARMInstrMVE.td
3628

You could combine this into the same Predicates block (it doesn't matter a lot either way). Up to you.

This revision is now accepted and ready to land.Sep 6 2019, 8:17 AM