[clang] [flang] [llvm] [mlir] [OpenMP][flang] Add initial support for by-ref reductions on the GPU (PR #165714)
Kareem Ergawy via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 25 03:11:27 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);
----------------
ergawy wrote:
Done.
https://github.com/llvm/llvm-project/pull/165714
More information about the llvm-commits
mailing list