[clang] [HIP][NFC] Refactor managed var codegen (PR #85976)
Artem Belevich via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 20 10:51:22 PDT 2024
================
@@ -1160,9 +1152,8 @@ void CGNVCUDARuntime::createOffloadingEntries() {
// Returns module constructor to be added.
llvm::Function *CGNVCUDARuntime::finalizeModule() {
+ transformManagedVars();
----------------
Artem-B wrote:
This does not look like "NFC" as we now perform the transform for the host compilation, too.
I assume we do have existing tests covering generation of the variables.
https://github.com/llvm/llvm-project/pull/85976
More information about the cfe-commits
mailing list