[all-commits] [llvm/llvm-project] 221f43: [flang][OpenMP] Add support for complex reductions...

Mats Petersson via All-commits all-commits at lists.llvm.org
Mon Apr 8 02:18:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 221f438af1c1292d787b58da99a5a7b371888456
      https://github.com/llvm/llvm-project/commit/221f438af1c1292d787b58da99a5a7b371888456
  Author: Mats Petersson <mats.petersson at arm.com>
  Date:   2024-04-08 (Mon, 08 Apr 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
    M flang/lib/Lower/OpenMP/ReductionProcessor.h
    A flang/test/Lower/OpenMP/parallel-reduction-complex-mul.f90
    A flang/test/Lower/OpenMP/parallel-reduction-complex.f90

  Log Message:
  -----------
  [flang][OpenMP] Add support for complex reductions (#87488)

This adds support for complex type to the OpenMP reductions. 

Note that some more work would be needed to give decent error messages when complex 
is used in ways that need client supplied functions (e.g. MAX or MIN). It does fail these with
a not so user friendly message at present.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list