[all-commits] [llvm/llvm-project] 2c272a: [flang][runtime] Fix total MAXLOC/MINLOC for non-i...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Apr 25 12:42:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c272a4e8f9dc9acca3f15bb0327e329941dc3ff
      https://github.com/llvm/llvm-project/commit/2c272a4e8f9dc9acca3f15bb0327e329941dc3ff
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-04-25 (Mon, 25 Apr 2022)

  Changed paths:
    M flang/runtime/extrema.cpp

  Log Message:
  -----------
  [flang][runtime] Fix total MAXLOC/MINLOC for non-integer data

A template argument was hard-coded as the Integer type category
rather than properly forwarding the type category of the data for
type-specific instantiations of total (no DIM=) MAXLOC and MINLOC.
This broke total MAXLOC and MINLOC reductions for real and character
data.

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




More information about the All-commits mailing list