[llvm] [LoopVectorize] Generate wide active lane masks (PR #147535)

Kerry McLaughlin via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 30 06:35:28 PDT 2025


================
@@ -954,6 +954,9 @@ class VPInstruction : public VPRecipeWithIRFlags,
     // part if it is scalar. In the latter case, the recipe will be removed
     // during unrolling.
     ExtractPenultimateElement,
+    // Extracts a subvector from a vector (first operand) starting at a given
+    // offset (second operand).
+    ExtractSubvector,
----------------
kmclaughlin-arm wrote:

I think this makes sense, though I have removed ExtractSubvector from VPInstruction in favour of using VPWidenIntrinsic to create the extract instead.

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


More information about the llvm-commits mailing list