[all-commits] [llvm/llvm-project] b2b437: [flang] Warn about overflow after folding HYPOT

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jul 3 11:21:53 PDT 2023


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

  Changed paths:
    M flang/lib/Evaluate/fold-real.cpp
    M flang/test/Evaluate/errors01.f90

  Log Message:
  -----------
  [flang] Warn about overflow after folding HYPOT

The code that folds the intrinsic function HYPOT was neglecting to
warn the programmer about overflow when it occurs.

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




More information about the All-commits mailing list