[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:06 PST 2025
================
@@ -573,10 +573,18 @@ OpType ReductionProcessor::createDeclareReduction(
mlir::OpBuilder modBuilder(module.getBodyRegion());
mlir::Type valTy = fir::unwrapRefType(type);
+ // For by-ref reductions, we want to keep track of the
+ // boxed/referenced/allocated type. For example, a for `real, allocatable`
----------------
bhandarkar-pranav wrote:
`sed 's/a for/for a/'`
https://github.com/llvm/llvm-project/pull/165714
More information about the Mlir-commits
mailing list