[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
================
@@ -1854,6 +1908,13 @@ LogicalResult acc::LoopOp::verify() {
"reductions", false)))
return failure();
+ if (getCombined().has_value() &&
+ (getCombined().value() != acc::CombinedConstructsType::ParallelLoop &&
+ getCombined().value() != acc::CombinedConstructsType::KernelsLoop &&
+ getCombined().value() != acc::CombinedConstructsType::SerialLoop)) {
----------------
clementval wrote:
Is it possible that the value is not one of the enumeration?
https://github.com/llvm/llvm-project/pull/80319
More information about the Mlir-commits
mailing list