[all-commits] [llvm/llvm-project] 9893b2: [Flang][OpenMP] Add support for integer multiplica...

DylanFleming-arm via All-commits all-commits at lists.llvm.org
Tue Aug 9 12:31:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9893b26dfa75545404ab9d079a7b2de696f8cd4c
      https://github.com/llvm/llvm-project/commit/9893b26dfa75545404ab9d079a7b2de696f8cd4c
  Author: Dylan Fleming <Dylan.Fleming at arm.com>
  Date:   2022-08-09 (Tue, 09 Aug 2022)

  Changed paths:
    M flang/lib/Lower/OpenMP.cpp
    R flang/test/Lower/OpenMP/Todo/reduction-multiply.f90
    A flang/test/Lower/OpenMP/wsloop-reduction-int-add.f90
    A flang/test/Lower/OpenMP/wsloop-reduction-int-mul.f90
    R flang/test/Lower/OpenMP/wsloop-reduction-int.f90

  Log Message:
  -----------
  [Flang][OpenMP] Add support for integer multiplication reduction in worksharing-loop

Adds support for reduction of multiplcation
by extending OpenMP.cpp::genOpenMPReduction()
and altering the identity constant emitted in
OpenMP.cpp::createReductionDelc()

This patch builds D130077 and as such,
only supports reductions for interger types in
worksharping loops.

Reviewed By: awarzynski

Differential Revision: https://reviews.llvm.org/D130767




More information about the All-commits mailing list