diff options
author | Sam Parker <sam.parker@arm.com> | 2018-11-09 09:18:00 +0000 |
---|---|---|
committer | Sam Parker <sam.parker@arm.com> | 2018-11-09 09:18:00 +0000 |
commit | 453ba916a0605f4728ee0843c586d675d23e0f7b (patch) | |
tree | c125b9d9f024ccb242e66846bca349151e9776fd /llvm/lib/Transforms/Utils/SimplifyCFG.cpp | |
parent | ff653da67add2131f7e3082b69c7b0f9729d0d59 (diff) | |
download | bcm5719-llvm-453ba916a0605f4728ee0843c586d675d23e0f7b.tar.gz bcm5719-llvm-453ba916a0605f4728ee0843c586d675d23e0f7b.zip |
[ARM] Small reorganisation in ARMParallelDSP
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.
Differential Revision: https://reviews.llvm.org/D54254
llvm-svn: 346479
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions