[llvm] [LV] Commonise some of the VPReplicateRecipe cost cases (PR #204812)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 22 00:57:16 PDT 2026


david-arm wrote:

> > In addition I ran the LLVM test suite, which didn't seem to expose any cases. However, once we stop skipping the vplan costs for all the extra opcodes we then hit this code path much more often.
> 
> Under what cases are we hitting this? Presumably either sunk by VPlan transforms or force scalarized?

I'm not sure I understand the question. As described in the PR we only hit a single, artificial test case where we decide to replicate for the opcodes affected by this PR. Are you asking about cases where we stop skipping computations?

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


More information about the llvm-commits mailing list