[MLIR] Add support for bare pointer calling convention in gpu-to-llvm
authorUday Bondhugula <uday@polymagelabs.com>
Sat, 17 Jun 2023 17:13:43 +0000 (22:43 +0530)
committerUday Bondhugula <uday@polymagelabs.com>
Sat, 17 Jun 2023 17:57:13 +0000 (23:27 +0530)
commit597f04fe97c838fb9e02aef299c48848273a3d1e
treed620a4842197405b0d7d6ba058c275d3b94c9c5a
parent1797ab36efc9c90c921cd725831f8c3f6a7125a2
[MLIR] Add support for bare pointer calling convention in gpu-to-llvm

Add support for the bare pointer calling convention in the gpu-to-llvm
pass. This wasn't being exposed and is needed when GPU-compiled MLIR is
to be called with this convention.

Reviewed By: krzysz00

Differential Revision: https://reviews.llvm.org/D152477
mlir/include/mlir/Conversion/Passes.td
mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp