[llvm] [VPlan] Add VPIRInstruction, use for exit block live-outs. (PR #100735)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 13 13:58:41 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.
----------------
fhahn wrote:
Could do if preferred, but it would pull in additional complexity for relatively small gains?
https://github.com/llvm/llvm-project/pull/100735
More information about the llvm-commits
mailing list