[PATCH] D84874: [SVE][CodeGen] Legalisation of INSERT_VECTOR_ELT for scalable vectors
Kerry McLaughlin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 30 09:53:19 PDT 2020
kmclaughlin added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp:1510
+ StackPtr = DAG.getMemBasePlusOffset(StackPtr, IncrementSize, dl,
+ N->getFlags(), LoVT.isScalableVector());
----------------
efriedma wrote:
> Can we pass a TypeSize here, instead of passing the offset and scalable bit separately?
Since TypeSize uses uint64_t, I thought it would be better to pass in IsScalable as a separate argument so that we can keep the Offset argument as a signed value.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84874/new/
https://reviews.llvm.org/D84874
More information about the llvm-commits
mailing list