[PATCH] D110564: [ARM] Skip debug info in recomputeVPTBlockMask

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 27 09:50:21 PDT 2021


dmgreen created this revision.
dmgreen added reviewers: SjoerdMeijer, samtebbs, momchil.velikov, lenary, simon_tatham.
Herald added subscribers: hiraditya, kristof.beyls.
dmgreen requested review of this revision.
Herald added a project: LLVM.

The ARMLowOverheadLoops pass recalculated VPT block masks when it converts VCMP's inside VPT blocks into VPT's. The function to do so doesn't seem to handle debug info though, leading to invalid block creation or asserts at compile time.  Make sure the function skips any debug info between the MVE instructions it inspects.


https://reviews.llvm.org/D110564

Files:
  llvm/lib/Target/ARM/Thumb2InstrInfo.cpp
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/vpt-block-debug.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110564.375305.patch
Type: text/x-patch
Size: 34345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210927/d0303261/attachment.bin>


More information about the llvm-commits mailing list