[llvm] [VPlan] Model FOR extract of exit value in VPlan. (PR #93395)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 3 06:29:33 PDT 2024


================
@@ -1182,6 +1188,11 @@ class VPInstruction : public VPRecipeWithIRFlags {
     BranchOnCount,
     BranchOnCond,
     ComputeReductionResult,
+    // Takes the VPValue to extract from as first operand and the lane to
+    // extract from as second operand. The second operand must be a constant and
----------------
ayalz wrote:

```suggestion
    // extract as second operand, counting from the end starting with 1 for last. The second operand must be a positive constant and
```

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


More information about the llvm-commits mailing list