summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
diff options
context:
space:
mode:
authorSam Parker <sam.parker@arm.com>2018-09-12 09:17:44 +0000
committerSam Parker <sam.parker@arm.com>2018-09-12 09:17:44 +0000
commita023c7a9cb7564c26517cfd73737cfeabdc80330 (patch)
tree942f13fd4d89457cb592c8a54b6bfd95b3a89b1c /llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
parent569b24549edc485e36b4428a486e3e776e2f5a0b (diff)
downloadbcm5719-llvm-a023c7a9cb7564c26517cfd73737cfeabdc80330.tar.gz
bcm5719-llvm-a023c7a9cb7564c26517cfd73737cfeabdc80330.zip
[ARM] Exchange MAC operands in ARMParallelDSP
SMLAD and SMLALD instructions also come in the form of SMLADX and SMLALDX which perform an exchange on their second operand. To support this, more of the loads in the MAC candidates are compared for sequential access and a boolean value has been added to BinOpChain. AddMACCandiate has been refactored into a small pattern matching state machine to reduce the amount of duplicated code, but also to enable the matching to be more flexible. CreateParallelMACPairs now iterates through all the candidates to find parallel ones. Differential Revision: https://reviews.llvm.org/D51424 llvm-svn: 342033
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud