This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Reorganise some functionality in ARMParallelDSP
ClosedPublic

Authored by samparker on Nov 8 2018, 3:14 AM.

Details

Summary

A few code movement things:

  • AreSymmetrical is now a method of BinOpChain.
  • Created a lambda in CreateParallelMACPairs to reduce loop nesting.
  • A Reduction object now gets pasted in a couple of places instead, including CreateParallelMACPairs so it doesn't need to return a value.

I've also added RecordSequentialLoads, which is run before the transformation begins, and caches the interesting loads. This can then be queried later instead of cross checking many load values.

Diff Detail

Repository
rL LLVM

Event Timeline

samparker created this revision.Nov 8 2018, 3:14 AM
This revision is now accepted and ready to land.Nov 9 2018, 12:11 AM
This revision was automatically updated to reflect the committed changes.