[mlir] RegionBranchOpInterface should be verifyWithRegions

This commit is contained in:
Mogball 2022-03-04 22:25:18 +00:00
parent e47257e251
commit 210bdc651b
1 changed files with 1 additions and 0 deletions

View File

@ -193,6 +193,7 @@ def RegionBranchOpInterface : OpInterface<"RegionBranchOpInterface"> {
"expected operation to have non-zero regions");
return detail::verifyTypesAlongControlFlowEdges($_op);
}];
let verifyWithRegions = 1;
let extraClassDeclaration = [{
/// Convenience helper in case none of the operands is known.