[all-commits] [llvm/llvm-project] ce7700: [flang][runtime] Address PRODUCT numeric discrepan...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu May 2 05:44:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce7700e29dfbc85348942d74d0ca2ba9ac8d8cf5
      https://github.com/llvm/llvm-project/commit/ce7700e29dfbc85348942d74d0ca2ba9ac8d8cf5
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-05-02 (Thu, 02 May 2024)

  Changed paths:
    M flang/runtime/product.cpp
    M flang/runtime/reduction-templates.h
    M flang/runtime/sum.cpp

  Log Message:
  -----------
  [flang][runtime] Address PRODUCT numeric discrepancy, folding vs runtime (#90125)

Ensure that the runtime implementations of floating-point reductions use
intermediate results of the same precision as the operands, so that
results match those from constant folding. (SUM reduction uses Kahan
summation in both cases.)



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