diff options
author | Anshil Gandhi <Anshil.Gandhi@amd.com> | 2021-08-19 23:25:34 -0600 |
---|---|---|
committer | Anshil Gandhi <Anshil.Gandhi@amd.com> | 2021-08-19 23:51:58 -0600 |
commit | 7063ac1afa656bdbb851c8ef120ff699c2e98483 (patch) | |
tree | 70617bbe4e027fb34a790ff0b039658445044f1c /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 59510c421208e178de63b3640787d02ad56deb37 (diff) | |
download | llvm-7063ac1afa656bdbb851c8ef120ff699c2e98483.zip llvm-7063ac1afa656bdbb851c8ef120ff699c2e98483.tar.gz llvm-7063ac1afa656bdbb851c8ef120ff699c2e98483.tar.bz2 |
[HIP] Allow target addr space in target builtins
This patch allows target specific addr space in target builtins for HIP. It inserts implicit addr
space cast for non-generic pointer to generic pointer in general, and inserts implicit addr
space cast for generic to non-generic for target builtin arguments only.
It is NFC for non-HIP languages.
Differential Revision: https://reviews.llvm.org/D102405
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions