[PATCH] D121784: [VP] Add splitting for VP_STRIDED_STORE and VP_STRIDED_LOAD
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 21 11:20:57 PDT 2022
craig.topper added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp:1895
+ // We need to do this cast of the Stride operand otherwise an illegal
+ // type may appear in the Type-legalized selection DAG.
+ SDValue Ptr = SLD->getBasePtr();
----------------
We're inside of type legalization, why wouldn't the stride type get legalized after the split? Though you wouldn't be able to use it in the ISD::MUL below if you didn't extend it first.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121784/new/
https://reviews.llvm.org/D121784
More information about the llvm-commits
mailing list