[PATCH] D153432: [SDAGBuilder] Handle multi-part arguments in argument copy elision (PR63430)
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 21 08:33:37 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:10928
+ for (EVT VT : ValueVTs)
+ NumParts += TLI->getNumRegistersForCallingConv(*CurDAG->getContext(),
+ F.getCallingConv(), VT);
----------------
For some reason this is split into two hooks for the register type and the number of registers. Wouldn't you need to account for the split and promoted / demoted case?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153432/new/
https://reviews.llvm.org/D153432
More information about the llvm-commits
mailing list