[flang] [llvm] [mlir] [OpenMP][flang] Lowering of OpenMP custom reductions to MLIR (PR #168417)
Tom Eccles via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 20 07:48:28 PST 2025
================
@@ -462,7 +462,7 @@ static void genCombiner(fir::FirOpBuilder &builder, mlir::Location loc,
bool isByRef) {
ty = fir::unwrapRefType(ty);
- if (fir::isa_trivial(ty)) {
+ if (fir::isa_trivial(ty) || fir::isa_derived(ty)) {
----------------
tblah wrote:
Why would `createScalarCombiner` work with a derived type?
https://github.com/llvm/llvm-project/pull/168417
More information about the llvm-commits
mailing list