[flang] [llvm] [mlir] [OpenMP][flang] Lowering of OpenMP custom reductions to MLIR (PR #168417)
Jan Leyonberg via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 24 07:06:16 PST 2025
================
@@ -3651,6 +3665,11 @@ getReductionType(lower::AbstractConverter &converter,
const auto &name = std::get<parser::ObjectName>(decl.var.t);
const auto &symbol = semantics::SymbolRef(*name.symbol);
mlir::Type reductionType = converter.genType(symbol);
+
+ if (!isSimpleReductionType(reductionType))
+ TODO(converter.getCurrentLocation(),
+ "declare reduction using currently only supports trival types or "
----------------
jsjodin wrote:
Thanks! I'll fix this, rebase and hopefully merge later today.
https://github.com/llvm/llvm-project/pull/168417
More information about the llvm-commits
mailing list