[PATCH] D80826: [CodeGen][SVE] Replace deprecated calls in getCopyFromPartsVector()
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 1 01:01:52 PDT 2020
efriedma added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:467
- if (ValueVT.getVectorNumElements() != 1) {
+ if (ValueVT.getVectorElementCount().Min != 1) {
// Certain ABIs require that vectors are passed as integers. For vectors
----------------
This has the same issues as the other check; it treats an nxv1i8 as having "one" element, and I'm not sure that's appropriate here.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80826/new/
https://reviews.llvm.org/D80826
More information about the llvm-commits
mailing list