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

Valentin Clement バレンタイン クレメン llvmlistbot at llvm.org
Thu Feb 1 11:50:50 PST 2024


================
@@ -1370,6 +1414,11 @@ LogicalResult acc::SerialOp::verify() {
   if (failed(checkWaitAndAsyncConflict<acc::SerialOp>(*this)))
     return failure();
 
+  if (getCombined().has_value() &&
+      getCombined().value() != acc::CombinedConstructsType::SerialLoop) {
----------------
clementval wrote:

nit: Same comment about optional handling

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


More information about the Mlir-commits mailing list