[PATCH] D76709: [Target][ARM] Adding MVE VPT Optimisation Pass

Pierre van Houtryve via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 2 08:06:24 PDT 2020


Pierre-vh updated this revision to Diff 254521.
Pierre-vh added a comment.

  - "rebased" the patch - I renamed `IsWritingToVCCRorVPR` to `IsWritingToVCCR` in the child revision, so I renamed it here as well. I also removed the line that checked if `ARM::VPR` was used, as it was useless outside of tests.
  - I added a new test, `mve-vpt-blocks.ll` that uses some intrinsics to attempt to generate all possible VPT blocks from LLVM IR. In this patch, it doesn't generate every block successfully due to spill/reloads, but that's fixed in the child revision.
- Finally, I fixed a bug related to `isKill` flags on register and added a test for it.




CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76709/new/

https://reviews.llvm.org/D76709

Files:
  llvm/lib/Target/ARM/ARM.h
  llvm/lib/Target/ARM/ARMTargetMachine.cpp
  llvm/lib/Target/ARM/CMakeLists.txt
  llvm/lib/Target/ARM/MVEVPTOptimisationsPass.cpp
  llvm/test/CodeGen/ARM/O3-pipeline.ll
  llvm/test/CodeGen/Thumb2/mve-vpt-blocks.ll
  llvm/test/CodeGen/Thumb2/mve-vpt-optimisations.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76709.254521.patch
Type: text/x-patch
Size: 50394 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200402/14a93bb9/attachment.bin>


More information about the llvm-commits mailing list