[flang-commits] [flang] [mlir] [flang][OpenMP] Lower target in_reduction for host fallback (PR #199967)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Tue Jun 23 06:55:11 PDT 2026


================
@@ -524,6 +553,10 @@ static LogicalResult checkImplementationStatus(Operation &op) {
       .Case([&](omp::TargetOp op) {
         checkAllocate(op, result);
         checkBare(op, result);
+        // The byref / cleanup-region / two-argument-initializer in_reduction
+        // shapes on omp.target are not implemented yet (handled by
+        // checkInReduction). The device-side / offload-entry cases are
+        // diagnosed inline in convertOmpTarget.
----------------
skatrak wrote:

Nit: Comment seems unnecessary.

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


More information about the flang-commits mailing list