[llvm] [LV] Vectorize conditional scalar assignments (PR #158088)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 4 02:19:50 PST 2025
================
@@ -1128,6 +1128,8 @@ class LLVM_ABI_FOR_TEST VPInstruction : public VPRecipeWithIRFlags,
/// Returns the value for vscale.
VScale,
OpsEnd = VScale,
+ /// Extracts the last active lane based on a predicate vector operand.
+ ExtractLastActive,
----------------
fhahn wrote:
how does this compare to extract + last-active-lane? Should we lower one to the other assuming all backends can handle it reasonably well?
https://github.com/llvm/llvm-project/pull/158088
More information about the llvm-commits
mailing list