Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
flang/test/Semantics/OpenMP/use_device_ptr.f90 | ||
---|---|---|
15 | This change seems related to use_device_ptr |
flang/test/Semantics/OpenMP/use_device_ptr.f90 | ||
---|---|---|
15 | Yes, I missed this additional check in previous commit so adding it here. Is that okay? |
flang/lib/Semantics/resolve-directives.cpp | ||
---|---|---|
520 | What is the plan here? I mean do you plan to use these flags in the lowering somehow or do you just replicate what was done for other clauses? | |
flang/test/Semantics/OpenMP/use_device_ptr.f90 | ||
15 | It might be better to do it in a separate patch since it is unrelated to this one. |
flang/lib/Semantics/resolve-directives.cpp | ||
---|---|---|
520 | I added UseDeviceAddr flag because of the following description from OpenMP 5.1 spec "If a list item that appears in a use_device_addr clause has corresponding storage in the device data environment, references to the list item in the associated structured block are converted into references to the corresponding list item" Plan is to have UseDeviceAddr flag set so that we can use it in lowering. Also, replicating the behavior of private clause. |
What is the plan here? I mean do you plan to use these flags in the lowering somehow or do you just replicate what was done for other clauses?