File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -3134,7 +3134,9 @@ bool VPReplicateRecipe::shouldPack() const {
31343134
31353135// / Returns a SCEV expression for \p Ptr if it is a pointer computation for
31363136// / which the legacy cost model computes a SCEV expression when computing the
3137- // / address cost. Otherwise return nullptr.
3137+ // / address cost. Computing SCEVs for VPValues is incomplete and returns
3138+ // / SCEVCouldNotCompute in cases the legacy cost model can compute SCEVs. In
3139+ // / those cases we fall back to the legacy cost model. Otherwise return nullptr.
31383140static const SCEV *getAddressAccessSCEV (const VPValue *Ptr, ScalarEvolution &SE,
31393141 const Loop *L) {
31403142 auto *PtrR = Ptr->getDefiningRecipe ();
You can’t perform that action at this time.
0 commit comments