[PATCH] D102766: [SelectionDAG] Implement PromoteIntRes_INSERT_SUBVECTOR
Peter Waller via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 20 02:24:55 PDT 2021
peterwaller-arm added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp:4704
+SDValue DAGTypeLegalizer::PromoteIntRes_INSERT_SUBVECTOR(SDNode *N) {
+
+ EVT OutVT = N->getValueType(0);
----------------
joechrisellis wrote:
> peterwaller-arm wrote:
> > nit: Extraneous blank.
> This is consistent with `PromoteIntRes_EXTRACT_SUBVECTOR` some 60-ish lines above.
This is only a nit, but the majority of functions in this file don't have it and I think PromoteIntRes_EXTRACT_SUBVECTOR is in error. It's sufficiently nearby and related code that I'd be tempted to remove it from that one too to maintain local consistenc (but not anywhere else, there are other examples in this file).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102766/new/
https://reviews.llvm.org/D102766
More information about the llvm-commits
mailing list