[Mlir-commits] [mlir] [OpenMP][MLIR] RegionBranchOpInterface for TargetOp, TargetDataOp (PR #209710)

Sergio Afonso llvmlistbot at llvm.org
Mon Aug 10 06:26:39 PDT 2026


================
@@ -2571,6 +2575,17 @@ LogicalResult TargetDataOp::verify() {
   return verifyMapClause(*this, getMapVars(), getMapIterated());
 }
 
+// Adapted from scf.if implementation.
+void TargetDataOp::getSuccessorRegions(
+    mlir::RegionBranchPoint point,
+    llvm::SmallVectorImpl<::mlir::RegionSuccessor> &regions) {
----------------
skatrak wrote:

Nit: These all have global visibility in this file. Same comment for the other changes below.
```suggestion
    RegionBranchPoint point,
    SmallVectorImpl<RegionSuccessor> &regions) {
```

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


More information about the Mlir-commits mailing list