[flang-commits] [flang] [mlir] [flang][OpenMP] Implement HAS_DEVICE_ADDR clause (PR #128568)
Krzysztof Parzyszek via flang-commits
flang-commits at lists.llvm.org
Sat Mar 1 06:03:55 PST 2025
kparzysz wrote:
> And as an aside to this, I have a feeling as it is just now, the always map type may break a few tests in the offloading suite (check-offload), I recollect having to implement this yet to land code blob for it: #119588 where we "cut around" the data pointer, so as not to map over it when remapping the descriptor.
Yes, I remember seeing that happen with the downstream code. I was wondering why that was instead of mapping everything and then following that with PTR_AND_OBJECT for the pointer specifically. Anyways, maybe we could only mark HAS_DEVICE_ADDR descriptors as AWAYS? Would that help avoid the problem?
https://github.com/llvm/llvm-project/pull/128568
More information about the flang-commits
mailing list