[llvm] [LV][EVL] Emit vp.merge intrinsic to enable out-loop reduction in EVL vectorization. (PR #101641)

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 02:15:48 PDT 2024


================
@@ -1486,6 +1486,17 @@ class LoopVectorizationCostModel {
     return InLoopReductions.contains(Phi);
   }
 
+  /// Returns true if the predicated reduction select should be used.
----------------
Mel-Chen wrote:

Formatted and committed it, thanks.

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


More information about the llvm-commits mailing list