This is an archive of the discontinued LLVM Phabricator instance.

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

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

Details

Summary

Added support for VMUL to use an r register, this reduces pressure on the q registers.

Diff Detail

Repository
rL LLVM

Event Timeline

oliverlars created this revision.Sep 6 2019, 5:52 AM

Nice. Can you add tests for the %src and %sp being the other way around in the mul too? I think the same patterns should catch them, but it's worth having the tests.

oliverlars updated this revision to Diff 219096.Sep 6 2019, 7:08 AM

added tests for swapping of %sp and %src

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

Thanks. LGTM

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