[Mlir-commits] [clang] [flang] [llvm] [mlir] [OpenMP][flang] Add initial support for by-ref reductions on the GPU (PR #165714)

Pranav Bhandarkar llvmlistbot at llvm.org
Tue Nov 25 21:57:06 PST 2025


================
@@ -3782,30 +3782,40 @@ def fir_DeclareReductionOp : fir_Op<"declare_reduction", [IsolatedFromAbove,
          allocated by the initializer region. The region has an argument that
          contains the value of the thread-local reduction accumulator. This will
          be executed after the reduction has completed.
+      6. The DataPtrPtr region specifies how to access the base address of a
+         boxed-value. This is used, in particular, for GPU reductions in order
----------------
bhandarkar-pranav wrote:

< nit >: in order *to* know

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


More information about the Mlir-commits mailing list