[llvm] [VPlan] Introduce ExitPhi VPInstruction, use to create phi for FOR. (PR #94760)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 8 06:00:58 PDT 2024
================
@@ -1191,6 +1200,10 @@ class VPInstruction : public VPRecipeWithIRFlags {
SLPStore,
ActiveLaneMask,
ExplicitVectorLength,
+ /// Creates a scalar phi in a leaf VPBB with a single predecessor in VPlan.
+ /// The first operand is the incoming value from the predecessor in VPlan,
+ /// the second operand is the incoming value for all other predecessors.
----------------
ayalz wrote:
Worth adding that other predecessors are **currently** outside VPlan's scope.
https://github.com/llvm/llvm-project/pull/94760
More information about the llvm-commits
mailing list