[Mlir-commits] [mlir] [acc] Add attribute for combined constructs (PR #80319)

Razvan Lupusoru llvmlistbot at llvm.org
Wed Mar 6 14:10:37 PST 2024


================
@@ -815,6 +815,11 @@ LogicalResult acc::ParallelOp::verify() {
   if (failed(checkWaitAndAsyncConflict<acc::ParallelOp>(*this)))
     return failure();
 
+  if (getCombined().has_value() &&
+      getCombined().value() != acc::CombinedConstructsType::ParallelLoop) {
----------------
razvanlupusoru wrote:

Replaced with UnitAttr - so got rid of this logic completely.

https://github.com/llvm/llvm-project/pull/80319


More information about the Mlir-commits mailing list