[llvm] [LV] Vectorize conditional scalar assignments (PR #158088)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 5 02:12:16 PST 2025


================
@@ -1125,6 +1125,11 @@ class LLVM_ABI_FOR_TEST VPInstruction : public VPRecipeWithIRFlags,
     /// Explicit user for the resume phi of the canonical induction in the main
     /// VPlan, used by the epilogue vector loop.
     ResumeForEpilogue,
+
+    /// Extracts the last active lane based on a predicate vector operand, or
+    /// returns the default if no lanes were active.
----------------
fhahn wrote:

It is not clear what the default is here, could you clarify the operands for the operation?

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


More information about the llvm-commits mailing list