[all-commits] [llvm/llvm-project] f1dbf8: [flang][runtime] Fix edge-case FP input bugs

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Apr 22 16:12:21 PDT 2022


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

  Changed paths:
    M flang/lib/Decimal/decimal-to-binary.cpp
    M flang/runtime/edit-input.cpp
    M flang/unittests/Decimal/quick-sanity-test.cpp

  Log Message:
  -----------
  [flang][runtime] Fix edge-case FP input bugs

Blanks are allowed in more places than I allowed for, and
"NAN(foobar)" is allowed to have any parenthesis-balanced
characters in parentheses.

Update: Fix up old sanity test, then avoid usage of "limit" when null.

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




More information about the All-commits mailing list