[mlir][openacc] Add ReturnLike trait to acc.yield operation
authorValentin Clement <clementval@gmail.com>
Tue, 16 May 2023 15:43:17 +0000 (08:43 -0700)
committerValentin Clement <clementval@gmail.com>
Tue, 16 May 2023 15:43:58 +0000 (08:43 -0700)
commit0c4d7d14e94de5130d7747bde70c94bce77bb754
treec337b6ee7a3dc99017cb1c738a5025af8ed99af4
parent33da608ecc0fddbb38b01415d32464db1d867df1
[mlir][openacc] Add ReturnLike trait to acc.yield operation

Just add the trait as acc.yield is a return like op.

Reviewed By: razvanlupusoru, jeanPerier

Differential Revision: https://reviews.llvm.org/D150617
mlir/include/mlir/Dialect/OpenACC/OpenACC.h
mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td