[llvm] [VPlan] Model FOR extract of exit value in VPlan. (PR #93395)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 3 07:58:28 PDT 2024
================
@@ -3657,7 +3672,8 @@ inline bool isUniformAfterVectorization(VPValue *VPV) {
if (auto *GEP = dyn_cast<VPWidenGEPRecipe>(Def))
return all_of(GEP->operands(), isUniformAfterVectorization);
if (auto *VPI = dyn_cast<VPInstruction>(Def))
- return VPI->getOpcode() == VPInstruction::ComputeReductionResult;
+ return VPI->getOpcode() == VPInstruction::ComputeReductionResult ||
+ VPI->getOpcode() == VPInstruction::ExtractFromEnd;
----------------
fhahn wrote:
Updated, thanks!
https://github.com/llvm/llvm-project/pull/93395
More information about the llvm-commits
mailing list