[llvm-branch-commits] [llvm] [mlir] [mlir][OpenMP] Convert omp.cancellation_point to LLVMIR (PR #137205)

Michael Kruse via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Apr 28 02:11:38 PDT 2025


================
@@ -1589,11 +1592,12 @@ cleanupPrivateVars(llvm::IRBuilderBase &builder,
 
 /// Returns true if the construct contains omp.cancel or omp.cancellation_point
 static bool constructIsCancellable(Operation *op) {
-  // omp.cancel must be "closely nested" so it will be visible and not inside of
-  // funcion calls. This is enforced by the verifier.
+  // omp.cancel and omp.cancellation_point must be "closely nested" so they will
+  // be visible and not inside of funcion calls. This is enforced by the
----------------
Meinersbur wrote:

```suggestion
  // be visible and not inside of function calls. This is enforced by the
```

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


More information about the llvm-branch-commits mailing list