[PATCH] D110061: [SelectionDAG] Fix PromoteIntOp_EXTRACT_SUBVECTOR for scalable vectors.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 20 12:35:38 PDT 2021


craig.topper added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp:5099
   SDValue V0 = GetPromotedInteger(N->getOperand(0));
   MVT InVT = V0.getValueType().getSimpleVT();
   MVT OutVT = MVT::getVectorVT(InVT.getVectorElementType(),
----------------
The use of MVT instead of EVT here is also questionable. That's probably another vote for dropping it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110061/new/

https://reviews.llvm.org/D110061



More information about the llvm-commits mailing list