[NVPTX] Sync generation of parameter names in a function signature with the function...
authorPavel Kopyl <pavelkopyl@gmail.com>
Mon, 20 Feb 2023 15:31:58 +0000 (16:31 +0100)
committerPavel Kopyl <pavelkopyl@gmail.com>
Sat, 11 Mar 2023 02:40:48 +0000 (03:40 +0100)
commit507c67d00e083995f0deb013300b03a1d1a65b70
tree0a11bcea39d0cdf32ac97f3875ccb35aa6b6871b
parent9aae408d551083bbbac96ecc512d45c30358e4b9
[NVPTX] Sync generation of parameter names in a function signature with the function body.

This fixes parameter names mismatch in anonymous functions.

Differential Revision: https://reviews.llvm.org/D144407
llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
llvm/lib/Target/NVPTX/NVPTXAsmPrinter.h
llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
llvm/lib/Target/NVPTX/NVPTXISelLowering.h
llvm/test/CodeGen/NVPTX/anonymous-fn-param.ll [new file with mode: 0644]