[PATCH] D92369: [ARM] Improve handling of empty VPT blocks in tail predicated loops

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 1 00:59:29 PST 2020


dmgreen created this revision.
dmgreen added reviewers: samtebbs, SjoerdMeijer, simon_tatham, efriedma, ostannard.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.
dmgreen requested review of this revision.

A vpt block that just contains either VPST;VCTP or VPT;VCTP, once the VCTP is removed will become invalid. This fixed the first by removing the now empty block and bails out for the second, as we have no simple way of converting a VPT to a VCMP.


https://reviews.llvm.org/D92369

Files:
  llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/vpt-blocks.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92369.308563.patch
Type: text/x-patch
Size: 20386 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201201/ea9fa1ac/attachment.bin>


More information about the llvm-commits mailing list