[PATCH] D72257: [ARM] Use reduction intrinsics for larger than legal reductions

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 6 05:40:41 PST 2020


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

The codegen for splitting a llvm.vector.reduction intrinsic into parts will be better than the codegen for the generic reductions. This will only directly effect when vectorization factors are specified by the user.

Also added tests to make sure the codegen for larger reductions is OK.


https://reviews.llvm.org/D72257

Files:
  llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
  llvm/test/CodeGen/Thumb2/mve-vaddv.ll
  llvm/test/Transforms/LoopVectorize/ARM/mve-reduce.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72257.236334.patch
Type: text/x-patch
Size: 7315 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200106/cb1df8db/attachment.bin>


More information about the llvm-commits mailing list