This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Move add(VMLALVA(A, X, Y), B) to VMLALVA(add(A, B), X, Y)
ClosedPublic

Authored by dmgreen on Jul 9 2021, 2:17 AM.

Details

Summary

For i64 reductions we currently try and convert add(VMLALV(X, Y), B) to VMLALVA(B, X, Y), incorporating the addition into the VMLALVA. If we have an add of an existing VMLALVA, this patch pushes the add up above the VMLALVA so that it may potentially be simplified further, for example being folded into another VMLALV.

Diff Detail

Event Timeline

dmgreen created this revision.Jul 9 2021, 2:17 AM
dmgreen requested review of this revision.Jul 9 2021, 2:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 9 2021, 2:17 AM
This revision is now accepted and ready to land.Jul 14 2021, 6:15 AM
This revision was landed with ongoing or failed builds.Jul 14 2021, 12:07 PM
This revision was automatically updated to reflect the committed changes.