[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
Mon Nov 24 22:32:07 PST 2025
================
@@ -3746,7 +3746,8 @@ def fir_DeclareReductionOp : fir_Op<"declare_reduction", [IsolatedFromAbove,
}];
let arguments = (ins SymbolNameAttr:$sym_name,
- TypeAttr:$type);
+ TypeAttr:$type,
+ OptionalAttr<TypeAttr>:$byref_element_type);
----------------
bhandarkar-pranav wrote:
Could you maybe add a line in the description of the op about `byref_element_type`, especially from the POV of why it is needed.
https://github.com/llvm/llvm-project/pull/165714
More information about the Mlir-commits
mailing list