[mlir][openacc] Use new reduction design in acc.loop
authorValentin Clement <clementval@gmail.com>
Wed, 24 May 2023 17:44:40 +0000 (10:44 -0700)
committerValentin Clement <clementval@gmail.com>
Wed, 24 May 2023 17:51:39 +0000 (10:51 -0700)
commit6763f5918c926f5013cfac8b2472d77c06d48226
tree0c5c9932421bf2adf4c10b95417cf2e9a0648f19
parent4305f640f0e5d4c27b7787407bc84c80552fed11
[mlir][openacc] Use new reduction design in acc.loop

Use the new reduction design in acc.loop operation.

Depends on D151146

Reviewed By: razvanlupusoru, jeanPerier

Differential Revision: https://reviews.llvm.org/D151164
mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
mlir/test/Dialect/OpenACC/ops.mlir