[PATCH] D106051: [ARM] Extend more reductions during lowering

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 15 03:43:48 PDT 2021


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

This relaxes the VMLAV and VADDV reduction recognition code to handle smaller than legal types, extending them as needed. This was already handled for some reductions, this extends that to more types in a more generic way. If a smaller than legal value is found it is extended to the legal type as needed.


https://reviews.llvm.org/D106051

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/test/CodeGen/Thumb2/mve-vecreduce-add.ll
  llvm/test/CodeGen/Thumb2/mve-vecreduce-addpred.ll
  llvm/test/CodeGen/Thumb2/mve-vecreduce-mla.ll
  llvm/test/CodeGen/Thumb2/mve-vecreduce-mlapred.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106051.358904.patch
Type: text/x-patch
Size: 47684 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210715/7899cd42/attachment.bin>


More information about the llvm-commits mailing list