[all-commits] [llvm/llvm-project] abfd56: [VPlan] Mark VPActiveLaneMaskPHIRecipe as readnone...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Fri Jan 30 08:12:52 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: abfd56293c20f9fdbc31518bb19c7c9aad47b202
https://github.com/llvm/llvm-project/commit/abfd56293c20f9fdbc31518bb19c7c9aad47b202
Author: Florian Hahn <flo at fhahn.com>
Date: 2026-01-30 (Fri, 30 Jan 2026)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/conditional-branches-cost.ll
M llvm/test/Transforms/LoopVectorize/AArch64/predicated-costs.ll
M llvm/test/Transforms/LoopVectorize/AArch64/store-costs-sve.ll
Log Message:
-----------
[VPlan] Mark VPActiveLaneMaskPHIRecipe as readnone. (#177886)
VPWidenActiveLaneMaskPHIRecipe does not have side-effects and also does
not access memory. Mark accordingly. This allows hoisting of some
invariant loads out of loops and also removing unused phi recipes in the
future.
In
llvm/test/Transforms/LoopVectorize/AArch64/conditional-branches-cost.ll,
the hoisting makes vectorization profitable.
PR: https://github.com/llvm/llvm-project/pull/177886
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list