[PATCH] D65069: [ARM][ParallelDSP] Improve smlad search

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 22 02:50:22 PDT 2019


samparker created this revision.
samparker added a reviewer: SjoerdMeijer.
Herald added subscribers: kristof.beyls, javed.absar.

There was a bug with the smlad search where we'd only look at the LHS of an Add to see whether it was a valid operation. We don't really need to perform this check and can just try to use the add as an accumulator value if either LHS and RHS are invalid. This change allows more smlads to be generated.


https://reviews.llvm.org/D65069

Files:
  lib/Target/ARM/ARMParallelDSP.cpp
  test/CodeGen/ARM/ParallelDSP/aliasing.ll
  test/CodeGen/ARM/ParallelDSP/search.ll
  test/CodeGen/ARM/ParallelDSP/smlad0.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65069.211036.patch
Type: text/x-patch
Size: 14331 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190722/1ebf89b8/attachment.bin>


More information about the llvm-commits mailing list