[flang][openacc] Lower the default clause on compute constructs
authorValentin Clement <clementval@gmail.com>
Fri, 30 Jun 2023 17:24:21 +0000 (10:24 -0700)
committerValentin Clement <clementval@gmail.com>
Fri, 30 Jun 2023 17:24:46 +0000 (10:24 -0700)
commitc9bfca542958ccb6ed4d4345768d439ba690d95e
tree7f038187dc5cd889d151cee91b430c86e073c17f
parent61807f5c295814207f71aebf6438b9c00aedce9f
[flang][openacc] Lower the default clause on compute constructs

Lower default clause to the correct attribute for compute
operation.

Reviewed By: razvanlupusoru

Differential Revision: https://reviews.llvm.org/D154165
flang/lib/Lower/OpenACC.cpp
flang/test/Lower/OpenACC/acc-kernels.f90
flang/test/Lower/OpenACC/acc-parallel.f90
flang/test/Lower/OpenACC/acc-serial.f90