[PATCH] D75993: [Target][ARM] Improvements to the VPT Block Insertion Pass

Pierre van Houtryve via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 13 09:39:49 PDT 2020


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

Here is the refactored version of this patch. I tried to make the structure a bit cleaner and easier to work on.

- Made the function that expands the block masks more generic, it can now add one or more T/Es to any mask.
- Split the code into multiple functions

Note that I still need to add tests for the new supported cases, I'll try to add them later today or on Monday.


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

https://reviews.llvm.org/D75993

Files:
  llvm/lib/Target/ARM/MVEVPTBlockPass.cpp
  llvm/lib/Target/ARM/Thumb2InstrInfo.h
  llvm/test/CodeGen/Thumb2/mve-pred-not.ll
  llvm/test/CodeGen/Thumb2/mve-pred-threshold.ll
  llvm/test/CodeGen/Thumb2/mve-vpt-3-blocks-kill-vpr.mir
  llvm/test/CodeGen/Thumb2/mve-vpt-nots.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75993.250230.patch
Type: text/x-patch
Size: 22158 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200313/63c6a653/attachment-0001.bin>


More information about the llvm-commits mailing list