[PATCH] D106569: [ARM] Distribute reductions based on ascending load offset

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 22 09:14:12 PDT 2021


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

This distributes reductions based on the relative offset of loads, if one is found from their operands. Given chains of reductions this will then sort them in ascending load order, which in turn can help simple prefetches latch on to increasing strides more easily.


https://reviews.llvm.org/D106569

Files:
  llvm/include/llvm/CodeGen/SelectionDAGAddressAnalysis.h
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/test/CodeGen/Thumb2/mve-vecreduce-slp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106569.360852.patch
Type: text/x-patch
Size: 31501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210722/42e8ff17/attachment.bin>


More information about the llvm-commits mailing list