[llvm] [LV][EVL] Support reduction idioms using tail folding with EVL. (PR #90184)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu May 30 16:39:10 PDT 2024


================
@@ -394,6 +395,8 @@ Value *getShuffleReduction(IRBuilderBase &Builder, Value *Src, unsigned Op,
 /// Fast-math-flags are propagated using the IRBuilder's setting.
 Value *createSimpleTargetReduction(IRBuilderBase &B, Value *Src,
                                    RecurKind RdxKind);
+Value *createSimpleTargetReduction(VectorBuilder &VB, Value *Src,
----------------
fhahn wrote:

nit: might be good to highlight that this version is used to create vector-predication intrinsics?

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


More information about the llvm-commits mailing list