[llvm] [LV][EVL] Introduce MergeUntilPivot VPInstruction to enable out-loop reduction in EVL vectorization. (PR #101641)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 3 10:32:45 PDT 2024
================
@@ -661,7 +662,16 @@ Value *VPInstruction::generate(VPTransformState &State) {
}
return NewPhi;
}
-
+ case VPInstruction::MergeUntilPivot: {
+ Value *Cond = State.get(getOperand(0), 0);
+ Value *OnTrue = State.get(getOperand(1), 0);
+ Value *OnFalse = State.get(getOperand(2), 0);
----------------
fhahn wrote:
Does this still need a rebase?
https://github.com/llvm/llvm-project/pull/101641
More information about the llvm-commits
mailing list