[PATCH] D114177: [ARM] Generate VCTP from SETCC

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 18 10:35:18 PST 2021


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

This converts a vector `SETCC([0,1,2,..], splat(n), ult)` to `vctp n`, which can be fewer instructions and prevent the need for constant pool loads.


https://reviews.llvm.org/D114177

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/test/CodeGen/Thumb2/mve-vctp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114177.388257.patch
Type: text/x-patch
Size: 10225 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211118/32687d55/attachment.bin>


More information about the llvm-commits mailing list