[all-commits] [llvm/llvm-project] 08bfc0: [flang] Don't warn about a NaN argument to ISNAN()

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jul 3 13:26:04 PDT 2023


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

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

  Log Message:
  -----------
  [flang] Don't warn about a NaN argument to ISNAN()

Don't emit a warning when a compile-time constant argument to
ISNAN() or IEEE_IS_NAN() is a NaN.

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




More information about the All-commits mailing list