[all-commits] [llvm/llvm-project] b7585c: [flang][runtime] Fix NORM2([negative, ...])

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Jul 21 14:57:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b7585c75eeaf58f7602c1310f14e8e63b5501845
      https://github.com/llvm/llvm-project/commit/b7585c75eeaf58f7602c1310f14e8e63b5501845
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-07-21 (Fri, 21 Jul 2023)

  Changed paths:
    M flang/runtime/extrema.cpp

  Log Message:
  -----------
  [flang][runtime] Fix NORM2([negative, ...])

NORM2 is broken for arrays that start with a negative number
because it sets the initial running max_ value to that number
rather than to its absolute value.

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




More information about the All-commits mailing list