[Mlir-commits] [mlir] [mlir][acc] Add destroy region to reduction recipes (PR #155480)

Erich Keane llvmlistbot at llvm.org
Tue Aug 26 12:47:37 PDT 2025


================
@@ -1313,6 +1313,9 @@ def OpenACC_ReductionRecipeOp
          values of the reduction type into one. It has at least two arguments
          and it is expected to `acc.yield` the combined value. Extra arguments
          can be added to deal with dynamic arrays.
+      3. The destroy region specifies how to destruct the value when it reaches
----------------
erichkeane wrote:

Perhaps leave off the 'it is optional' sentence, and say "The optional destroy region..."?  

WDYT?

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


More information about the Mlir-commits mailing list