[llvm] [LV] Reuse VPReplicateRecipe to handle scalar stores in exit block. (PR #106342)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 3 13:18:25 PDT 2024


https://github.com/fhahn commented:

Thanks this looks like a nice use of VPReplicateRecipe to simplify handing of reductions with a store to an invariant address.

Unless I am missing something, using VPReplicateRecipe here should be fine, but would be good do add some extra assertions to guard against unintentional mis-use

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


More information about the llvm-commits mailing list