https://github.com/Meinersbur commented:

>    This ensures that explicit private allocations, intended to be shared 
> across
>    threads, use the proper memory space on a target device while supporting 
> the
>    case of parallel regions indirectly reached from within a target region via
>    function calls.

I don't yet understand the necessity of this. When lowering `fir.alloca`, 
wouldn't OpenMPToLLVMIRLowering automatically select the appropriate memory 
space?
To be usable in indirectably reached regions, the adress mlir::Value has to be 
passed to it in either case, why is it relevat?

https://github.com/llvm/llvm-project/pull/161863
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to