[llvm-dev] Reduction PHI in SLP

Tom Chen via llvm-dev llvm-dev at lists.llvm.org
Wed Aug 26 19:29:48 PDT 2020

I am trying to understand how llvm's SLP vectorizer vectorizes reduction. I
get the gist but don't see how phi nodes come into play here. Why does
`matchAssociativeReduction` take an additional phi node as an argument?
Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200826/069d73f9/attachment.html>

More information about the llvm-dev mailing list