[clang] [HIP][NFC] Refactor managed var codegen (PR #85976)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 20 11:23:16 PDT 2024


================
@@ -1160,9 +1152,8 @@ void CGNVCUDARuntime::createOffloadingEntries() {
 
 // Returns module constructor to be added.
 llvm::Function *CGNVCUDARuntime::finalizeModule() {
+  transformManagedVars();
----------------
jhuber6 wrote:

I'm guessing we also don't have a test for `__managed__` in the external test suite?

https://github.com/llvm/llvm-project/pull/85976


More information about the cfe-commits mailing list