[PATCH] D51983: [ARM] bottom-top mul support in ARMParallelDSP

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 1 08:56:15 PDT 2018


samparker updated this revision to Diff 167745.
samparker added a reviewer: efriedma.
samparker added a comment.

Two breaking assumptions were that:

- the base load would be before the offset load.
- each load would only have one user - this is true but I also really meant and assumed that the sext of the load has one user.

So, I've rewritten the sext user replacement code as the previous version was horrible. I've also added some code to reorder the load and address calculations. The way I've figured out the ordering looks bad, but I couldn't find a simple way in the APIs to find this kind of info out.

I've also created a ParallelDSP subdirectory for the tests and moved the smlad stuff into it as well.


https://reviews.llvm.org/D51983

Files:
  lib/Target/ARM/ARMParallelDSP.cpp
  test/CodeGen/ARM/ParallelDSP/smlad0.ll
  test/CodeGen/ARM/ParallelDSP/smlad1.ll
  test/CodeGen/ARM/ParallelDSP/smlad10.ll
  test/CodeGen/ARM/ParallelDSP/smlad11.ll
  test/CodeGen/ARM/ParallelDSP/smlad12.ll
  test/CodeGen/ARM/ParallelDSP/smlad2.ll
  test/CodeGen/ARM/ParallelDSP/smlad3.ll
  test/CodeGen/ARM/ParallelDSP/smlad4.ll
  test/CodeGen/ARM/ParallelDSP/smlad5.ll
  test/CodeGen/ARM/ParallelDSP/smlad6.ll
  test/CodeGen/ARM/ParallelDSP/smlad7.ll
  test/CodeGen/ARM/ParallelDSP/smlad8.ll
  test/CodeGen/ARM/ParallelDSP/smlad9.ll
  test/CodeGen/ARM/ParallelDSP/smladx-1.ll
  test/CodeGen/ARM/ParallelDSP/smlald0.ll
  test/CodeGen/ARM/ParallelDSP/smlald1.ll
  test/CodeGen/ARM/ParallelDSP/smlald2.ll
  test/CodeGen/ARM/ParallelDSP/smlaldx-1.ll
  test/CodeGen/ARM/ParallelDSP/smlaldx-2.ll
  test/CodeGen/ARM/ParallelDSP/top-bottom-multi-use.ll
  test/CodeGen/ARM/ParallelDSP/top-bottom-neg-vec.ll
  test/CodeGen/ARM/ParallelDSP/top-bottom-neg.ll
  test/CodeGen/ARM/ParallelDSP/top-bottom-order.ll
  test/CodeGen/ARM/ParallelDSP/top-bottom.ll
  test/CodeGen/ARM/smlad0.ll
  test/CodeGen/ARM/smlad1.ll
  test/CodeGen/ARM/smlad10.ll
  test/CodeGen/ARM/smlad11.ll
  test/CodeGen/ARM/smlad12.ll
  test/CodeGen/ARM/smlad2.ll
  test/CodeGen/ARM/smlad3.ll
  test/CodeGen/ARM/smlad4.ll
  test/CodeGen/ARM/smlad5.ll
  test/CodeGen/ARM/smlad6.ll
  test/CodeGen/ARM/smlad7.ll
  test/CodeGen/ARM/smlad8.ll
  test/CodeGen/ARM/smlad9.ll
  test/CodeGen/ARM/smladx-1.ll
  test/CodeGen/ARM/smlald0.ll
  test/CodeGen/ARM/smlald1.ll
  test/CodeGen/ARM/smlald2.ll
  test/CodeGen/ARM/smlaldx-1.ll
  test/CodeGen/ARM/smlaldx-2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51983.167745.patch
Type: text/x-patch
Size: 212008 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181001/94a9781b/attachment-0001.bin>


More information about the llvm-commits mailing list