This is an archive of the discontinued LLVM Phabricator instance.

[ARM][MVE] Add HorizontalReduction flag
ClosedPublic

Authored by samparker on Mar 24 2020, 3:54 AM.

Details

Summary

Add a target flag for instructions that reduce into one, or more, scalar reg(s), including variants of:

  • VADDV
  • VABAV
  • VMINV/VMAXV
  • VMLADAV

Diff Detail

Event Timeline

samparker created this revision.Mar 24 2020, 3:54 AM
SjoerdMeijer accepted this revision.Mar 24 2020, 10:28 AM

LGTM

llvm/unittests/Target/ARM/MachineInstrTest.cpp
20

I haven't checked this list carefully in the ARMARM, but looks right and is safe anyway.

This revision is now accepted and ready to land.Mar 24 2020, 10:28 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMar 25 2020, 4:50 AM