[all-commits] [llvm/llvm-project] da9f89: [Flang][OpenMP] Fix crash in MAX intrinsic reduction

kavitha-natarajan via All-commits all-commits at lists.llvm.org
Wed Mar 29 11:11:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: da9f890d09e78614da86ce2a14e2e92786038497
      https://github.com/llvm/llvm-project/commit/da9f890d09e78614da86ce2a14e2e92786038497
  Author: Kavitha Natarajan <kavitha.natarajan at amd.com>
  Date:   2023-03-29 (Wed, 29 Mar 2023)

  Changed paths:
    M flang/lib/Lower/OpenMP.cpp
    M flang/test/Lower/OpenMP/wsloop-reduction-max.f90

  Log Message:
  -----------
  [Flang][OpenMP] Fix crash in MAX intrinsic reduction

This patch fixes a crash that appear in an OpenMP MAX intrinsic
reduction when the reduction is not expressed using MAX intrinsic
function. Updated flang/test/Lower/OpenMP/wsloop-reduction-max.f90
test case with additional way of expressing MAX reduction.

Reviewed By: kiranchandramohan

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




More information about the All-commits mailing list