[flang-commits] [flang] [Flang] [Semantics] [OpenMP] Added missing semantic check with nested target region. (PR #115344)

Michael Klemm via flang-commits flang-commits at lists.llvm.org
Thu Nov 21 07:20:20 PST 2024


https://github.com/mjklemm commented:

Like indicated in the comment for the test, the code could be turned in valid code if the inner target construct would have device(ancestor) and was compiled with requires reverse_offload.

Do you want to handle this as part of this PR?  I doubt that reverse offloading is supported at this point, so I'd be fine with the PR landing as is and deferring the extension of the semantics to a later PR, once reverse offloading will be supported.

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


More information about the flang-commits mailing list