[llvm] [RISCV] Vectorize phi for loop carried @llvm.vp.reduce.* (PR #131974)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 25 02:18:35 PDT 2025


https://github.com/lukel97 approved this pull request.

LGTM, thanks

Can you update the comment above visitIntrinsicInst to say something like

```
// This affects ordered fadd reductions and VP reductions that have a scalar start value. // This tries to vectorize any scalar phis that feed into these reductions:
```

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


More information about the llvm-commits mailing list