[llvm] Reland [VPlan] Handle WidenGEP in narrowToSingleScalars (PR #167880)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 17 01:47:56 PST 2025
================
@@ -2516,6 +2516,11 @@ void VPScalarIVStepsRecipe::print(raw_ostream &O, const Twine &Indent,
}
#endif
+bool VPWidenGEPRecipe::usesFirstLaneOnly(const VPValue *Op) const {
+ assert(is_contained(operands(), Op) && "Op must be an operand of the recipe");
+ return vputils::isSingleScalar(Op);
+}
+
----------------
fhahn wrote:
Could you add what assertion got triggered? It is not immediately clear to me how this prevents assertions.
https://github.com/llvm/llvm-project/pull/167880
More information about the llvm-commits
mailing list