[llvm] [VPlan] Add VPInstruction to unpack vector values to scalars. (PR #155670)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 4 13:57:33 PDT 2025
================
@@ -84,6 +84,8 @@ inline bool isSingleScalar(const VPValue *VPV) {
return VPI->isSingleScalar() || VPI->isVectorToScalar() ||
(PreservesUniformity(VPI->getOpcode()) &&
all_of(VPI->operands(), isSingleScalar));
+ if (auto *Reduce = dyn_cast<VPReductionRecipe>(VPV))
+ return true;
----------------
fhahn wrote:
Stripped again for now, thanks
https://github.com/llvm/llvm-project/pull/155670
More information about the llvm-commits
mailing list