diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2023-07-12 13:35:01 -0500 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2023-07-21 16:43:46 -0500 |
commit | f4381d46445709fda9b8ec6c8f85d019de2dad22 (patch) | |
tree | 8c27dc704b7aa13942ab395af14b221cf71e8879 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 28eec1bd85d2a0eb342fbad8fb2cace389e772d5 (diff) | |
download | llvm-f4381d46445709fda9b8ec6c8f85d019de2dad22.zip llvm-f4381d46445709fda9b8ec6c8f85d019de2dad22.tar.gz llvm-f4381d46445709fda9b8ec6c8f85d019de2dad22.tar.bz2 |
[NVPTX] Add initial support for '.alias' in PTX
This patch adds initial support for using aliases when targeting PTX. We
perform a pretty strict conversion from the globals referenced to the
expected output. as described in the PTX documentation at
https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#kernel-and-function-directives-alias
These cannot currently be used due to a bug in the `nvlink`
implementation that causes aliases to pruned functions to crash the
linker.
Reviewed By: tra
Differential Revision: https://reviews.llvm.org/D155211
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions