[flang-commits] [flang] [llvm] [flang][HLFIR] make copyin/copyout allocation inline (PR #224063)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Wed Sep 16 12:50:48 PDT 2026


================
@@ -833,13 +833,18 @@ void RTDEF(CopyInAssign)(Descriptor &temp, const Descriptor &var,
   ShallowCopy(temp, var);
 }
 
+void RTDEF(CopyOutAssignDirect)(const Descriptor &var, Descriptor &temp,
----------------
vzakhari wrote:

Since `temp` is not modified, can we make it `const`?

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


More information about the flang-commits mailing list