[PATCH] D67219: [ARM] Fixup the creation of VPT blocks

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 5 04:05:57 PDT 2019


dmgreen created this revision.
dmgreen added reviewers: t.p.northover, SjoerdMeijer, samparker, simon_tatham, ostannard.
Herald added subscribers: hiraditya, kristof.beyls, javed.absar.
Herald added a project: LLVM.

This attempts to just fix the creation of VPT blocks, fixing up the iterating, which instructions are considered in the bundle, and making sure that we do not overrun the end of the block.

It is, to an extent, pulled out of D66580 <https://reviews.llvm.org/D66580> to make that simpler. It does not attempt to optimise VPNOT's like that patch does.


https://reviews.llvm.org/D67219

Files:
  llvm/lib/Target/ARM/MVEVPTBlockPass.cpp
  llvm/test/CodeGen/Thumb2/mve-masked-load.ll
  llvm/test/CodeGen/Thumb2/mve-vpt-block.mir
  llvm/test/CodeGen/Thumb2/mve-vpt-block2.mir
  llvm/test/CodeGen/Thumb2/mve-vpt-block4.mir
  llvm/test/CodeGen/Thumb2/mve-vpt-block5.mir
  llvm/test/CodeGen/Thumb2/mve-vpt-block6.mir
  llvm/test/CodeGen/Thumb2/mve-vpt-block7.mir
  llvm/test/CodeGen/Thumb2/mve-vpt-block8.mir
  llvm/test/CodeGen/Thumb2/mve-vpt-nots.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67219.218884.patch
Type: text/x-patch
Size: 35627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190905/8f0f5a92/attachment-0001.bin>


More information about the llvm-commits mailing list