[llvm] [LoopUnroll] Introduce parallel reduction phis when unrolling. (PR #149470)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 18 13:44:22 PDT 2025


https://github.com/efriedma-quic commented:

At a high level, do we really want to do this in the unroller?  We can already "unroll" loops like this, if you pass `#pragma clang loop vectorize_width(1) interleave_count(4)`, and the vectorizer has better infrastructure for cost modeling.

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


More information about the llvm-commits mailing list