[llvm] [SelectionDAG] Add SelectionDAG::getTypeSize. NFC (PR #169764)
Sander de Smalen via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 27 01:21:18 PST 2025
================
@@ -2117,13 +2102,24 @@ SDValue SelectionDAG::getVScale(const SDLoc &DL, EVT VT, APInt MulImm,
return getNode(ISD::VSCALE, DL, VT, getConstant(MulImm, DL, VT));
}
+template <typename Ty>
----------------
sdesmalen-arm wrote:
Can you add documentation for this function to describe what `VT` and `X` mean and how they are used to create the end result?
Also, why does it need to be a templated function? Is that for distinguishing EVT and MVT?
https://github.com/llvm/llvm-project/pull/169764
More information about the llvm-commits
mailing list