Unverified Commit cf8fc53a authored by agozillon's avatar agozillon Committed by GitHub
Browse files

[Flang][LLVM][OpenMP] Relax target data restrictions to be more inline with...

[Flang][LLVM][OpenMP] Relax target data restrictions to be more inline with the specification (#82537)

Currently we emit errors whenever a map is not provided on a target data
directive, however, I believe that's incorrect behavior, the
specification states:

"At least one map, use_device_addr or use_device_ptr clause must appear
on the directive"

So provided one is present, the directive is legal in this case.
Slightly different to its siblings (enter/exit/update) which don't have
use_device_addr/use_device_ptr.
parent 9dbedcac
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment