[llvm] [LV][EVL] Emit vp.merge intrinsic to enable out-loop reduction in EVL vectorization. (PR #101641)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 25 11:36:17 PDT 2024
================
@@ -1486,6 +1486,17 @@ class LoopVectorizationCostModel {
return InLoopReductions.contains(Phi);
}
+ /// Returns true if the predicated reduction select should be used.
----------------
fhahn wrote:
```suggestion
/// Returns true if the predicated reduction select should be used to set the incoming value for the reduction phi.
```
?
https://github.com/llvm/llvm-project/pull/101641
More information about the llvm-commits
mailing list