jhuber6 wrote: Realistically all we need is a way to query the size from the runtime and then just make a template helper that passes a sufficient amount of data and casts it to the requested type. Do we have any runtime calls similar to that? https://github.com/llvm/llvm-project/pull/168615