This is an archive of the discontinued LLVM Phabricator instance.

[ARM] ParallelDSP reorganisation
ClosedPublic

Authored by samparker on Jul 6 2018, 4:55 AM.

Details

Summary
In preparing to allow ARMParallelDSP pass to parallelise more than
smlads, I've restructed some elements:

- The ParallelMAC struct has been renamed to BinOpChain.
- The BinOpChain struct holds two value lists: LHS and RHS, as well
  as inheriting from the OpChain base class.
- The OpChain struct holds all the values of the represented chain
  and has had the memory locations functionality inserted into it.
- ParallelMACList becomes OpChainList and it now holds pointers instead
  of objects.

Diff Detail

Repository
rL LLVM

Event Timeline

samparker created this revision.Jul 6 2018, 4:55 AM
samparker added inline comments.Jul 6 2018, 6:32 AM
lib/Target/ARM/ARMParallelDSP.cpp
599 ↗(On Diff #154387)

I'm supposed to have a loop deleting the candidates here...

samparker updated this revision to Diff 154397.Jul 6 2018, 6:42 AM

Added loop to destroy the MACCandidates.

samparker updated this revision to Diff 154993.Jul 11 2018, 7:10 AM
samparker retitled this revision from [ARM] OpChain base class for ParallelDSP to [ARM] ParallelDSP reorganisation.
samparker edited the summary of this revision. (Show Details)

Combined changes from D48972 and performed a rebase.

This revision is now accepted and ready to land.Jul 23 2018, 2:19 AM
This revision was automatically updated to reflect the committed changes.