[llvm] [LV] Prevent `extract-lane` generate unused IRs with single vector operand. (PR #172798)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 8 13:02:40 PST 2026
================
@@ -3868,6 +3868,19 @@ void VPlanTransforms::convertToConcreteRecipes(VPlan &Plan) {
continue;
}
+ // Lower ExtractLane with single source to ExtractElement.
----------------
fhahn wrote:
is there a reason to handle this here instead of simplifyRecipe?
https://github.com/llvm/llvm-project/pull/172798
More information about the llvm-commits
mailing list