[PATCH] D100550: [ARM] Ensure loop invariant active.lane.mask operands

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 15 04:35:37 PDT 2021


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

CGP can move instructions like a ptrtoint into a loop, but the MVETailPredication when converting them will currently assume invariant trip counts. This tries to ensure the operands are loop invariant, and bails if not.


https://reviews.llvm.org/D100550

Files:
  llvm/lib/Target/ARM/MVETailPredication.cpp
  llvm/test/CodeGen/Thumb2/mve-tailpred-loopinvariant.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100550.337711.patch
Type: text/x-patch
Size: 6805 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210415/30d65f95/attachment.bin>


More information about the llvm-commits mailing list