Add a target flag for instructions that reduce into one, or more, scalar reg(s), including variants of:
- VADDV
- VABAV
- VMINV/VMAXV
- VMLADAV
Paths
| Differential D76683
[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:
Diff Detail
Event Timelinesamparker added a child revision: D76708: [ARM][LowOverheadLoops] Add horizontal reduction support.Mar 24 2020, 8:16 AM Comment Actions LGTM
This revision is now accepted and ready to land.Mar 24 2020, 10:28 AM Closed by commit rGe87250202d15: [ARM][MVE] Add HorizontalReduction flag (authored by samparker). · Explain WhyMar 25 2020, 4:50 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 252542 llvm/lib/Target/ARM/ARMInstrFormats.td
llvm/lib/Target/ARM/ARMInstrMVE.td
llvm/lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h
llvm/unittests/Target/ARM/MachineInstrTest.cpp
|
I haven't checked this list carefully in the ARMARM, but looks right and is safe anyway.