This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Generate MVE VFMAs
ClosedPublic

Authored by oliverlars on Jul 29 2019, 6:27 AM.

Details

Summary

Generate MVE VFMAs/VFMSs from fadd/fsub and fmul instructions.

Diff Detail

Event Timeline

oliverlars created this revision.Jul 29 2019, 6:27 AM
dmgreen accepted this revision.Jul 29 2019, 8:02 AM

Looks good to me, with one minor formatting nit.

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

Nit: you line this up a little, based on the brackets. I mean something like:

def : Pat<(v4f32 (fadd (v4f32 MQPR:$src1),
                       (fmul (v4f32 MQPR:$src2),
                             (v4f32 MQPR:$src3)))),
This revision is now accepted and ready to land.Jul 29 2019, 8:02 AM