[mlir][openacc][NFC] Use assembly format for acc.loop
authorValentin Clement <clementval@gmail.com>
Mon, 17 Apr 2023 14:52:50 +0000 (07:52 -0700)
committerValentin Clement <clementval@gmail.com>
Mon, 17 Apr 2023 14:53:19 +0000 (07:53 -0700)
commit7960993e4638c6243c4b37f05bb61b080fe13d43
tree529a9b79d74cebb41c743e1a9dd14055f2f13b98
parentc4a735d445fd2e780e6e45e80ae721c0bd3d05d1
[mlir][openacc][NFC] Use assembly format for acc.loop

Use the assembly format with custom parser/printer
for specific clauses instead of a full custom parser/printer.

Reviewed By: PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D148391
flang/lib/Lower/OpenACC.cpp
flang/test/Lower/OpenACC/acc-loop.f90
flang/test/Lower/OpenACC/acc-parallel-loop.f90
flang/test/Lower/OpenACC/acc-serial-loop.f90
mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
mlir/test/Dialect/OpenACC/invalid.mlir
mlir/test/Dialect/OpenACC/ops.mlir