[mlir][openacc] Relax the single block constraint on acc.loop
authorValentin Clement <clementval@gmail.com>
Tue, 11 Apr 2023 17:42:44 +0000 (10:42 -0700)
committerValentin Clement <clementval@gmail.com>
Tue, 11 Apr 2023 17:43:09 +0000 (10:43 -0700)
commit7951ab12b9674c5999f269aef8fa93b7994f27f0
treeec6fa9f90665046806f16854bcd73f18a3d0d866
parent88d6311982557acf2dd04ce101aca077ac311012
[mlir][openacc] Relax the single block constraint on acc.loop

The acc.loop operation was constrained by the SingleBlockImplicitTerminator.
This patch relax this constraint to allow multiple block in the loop.

Reviewed By: razvanlupusoru

Differential Revision: https://reviews.llvm.org/D148025
mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
mlir/test/Dialect/OpenACC/ops.mlir