[llvm] [LV] Optimise users of induction variables in early exit blocks (PR #130766)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 12 03:19:24 PDT 2025
================
@@ -882,6 +882,8 @@ class VPInstruction : public VPRecipeWithIRFlags,
// Extracts the first active lane of a vector, where the first operand is
// the predicate, and the second operand is the vector to extract.
ExtractFirstActive,
+ // Calculates the first active lane index of the vector predicate operand.
+ FirstActiveLane,
----------------
fhahn wrote:
Do we need both `ExtractFirstActive` and `FirstActiveLane` or can we use FirstActiveLane with a regular extract VPInstruction?
https://github.com/llvm/llvm-project/pull/130766
More information about the llvm-commits
mailing list