[llvm] [NVPTX] Generalize and extend upsizing when lowering 8/16-bit-element vector loads/stores (PR #119622)
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 13 11:26:32 PST 2024
================
@@ -100,6 +100,16 @@ static cl::opt<bool> ForceMinByValParamAlign(
" params of device functions."),
cl::init(false));
+static auto GetUpsizedNumEltsAndEltVT = [](unsigned OldNumElts, EVT OldEltVT) {
----------------
Artem-B wrote:
Given that it's not inside of the function, this does not have to be a lambda. A function would do.
https://github.com/llvm/llvm-project/pull/119622
More information about the llvm-commits
mailing list