[llvm] [VPlan] Add VPIRInstruction, use for exit block live-outs. (PR #100735)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 13 06:12:22 PDT 2024
================
@@ -1405,6 +1406,45 @@ class VPInstruction : public VPRecipeWithIRFlags {
bool isSingleScalar() const;
};
+/// A recipe to wrap on original IR instruction not to be modified during
+/// execution, execept for PHIs. For PHIs, a single VPValue operand is allowed,
+/// and it is used to add a new incoming value for the single predecessor VPBB.
+/// Expect PHIs, VPIRInstructions cannot have any operands.
----------------
ayalz wrote:
Would a separate (sub)recipe for phi's be better?
https://github.com/llvm/llvm-project/pull/100735
More information about the llvm-commits
mailing list