================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits