[flang-commits] [flang] [llvm] [flang-rt] Add APIs to retrive base_addr and DataSizeInBytes from Descriptor. (PR #152756)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Tue Aug 19 09:27:05 PDT 2025


================
@@ -48,6 +48,30 @@ void RTDEF(CopyAndUpdateDescriptor)(Descriptor &to, const Descriptor &from,
   }
 }
 
+void *RTDEF(DescriptorGetBaseAddress)(
----------------
vzakhari wrote:

As Valentin said, there is `fir.box_addr` operation that allows taking the base address from a descriptor.

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


More information about the flang-commits mailing list