[llvm] [LoopVectorizer] Add support for chaining partial reductions (PR #120272)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 20 03:12:30 PST 2025


fhahn wrote:

> As a side effect of this work being motivated by supporting complex dot product instructions (and thus allowing use of straight loads instead of gathers/deinterleaving loads), this PR also introduces support for partial reduction subtractions via negating the second operand of `partial.reduce.add` calls.

Sounds like supporting partial reduction subtractions would be a good extension on its own (and test-able independently), could it be split off?

https://github.com/llvm/llvm-project/pull/120272


More information about the llvm-commits mailing list