This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Combine fadd into fcmla
ClosedPublic

Authored by dmgreen on Mar 30 2023, 12:14 AM.

Details

Summary

This is the MVE equivalent of https://reviews.llvm.org/D146407. It adds a target combine for fadd(a, vcmla(b, c, d)) -> vcmla(fadd(a, b), c, d), pushing the fadd into the operands of the fcmla, which can help simplify away some additions.

Diff Detail

Event Timeline

dmgreen created this revision.Mar 30 2023, 12:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2023, 12:14 AM
dmgreen requested review of this revision.Mar 30 2023, 12:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2023, 12:14 AM
samtebbs accepted this revision.Mar 30 2023, 3:52 AM

Nice one, LGTM.

This revision is now accepted and ready to land.Mar 30 2023, 3:52 AM
This revision was landed with ongoing or failed builds.Apr 5 2023, 2:31 AM
This revision was automatically updated to reflect the committed changes.