[all-commits] [llvm/llvm-project] 1d1f5a: [flang] Handle subnormals while folding SCALE, SET...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Sun Aug 7 16:12:37 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1d1f5a5251f7570615f0669a56af0ac5b8b302bc
https://github.com/llvm/llvm-project/commit/1d1f5a5251f7570615f0669a56af0ac5b8b302bc
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-08-07 (Sun, 07 Aug 2022)
Changed paths:
M flang/include/flang/Evaluate/real.h
M flang/lib/Evaluate/real.cpp
M flang/test/Evaluate/folding07.f90
Log Message:
-----------
[flang] Handle subnormals while folding SCALE, SET_EXPONENT, & FRACTION
The implementations of folding for the intrinsic functions SCALE and SET_EXPONENT
do not cope correctly with numbers in the subnormal range. Fix SCALE,
then modify SET_EXPONENT to be a special case of SCALE.
Differential Revision: https://reviews.llvm.org/D131099
More information about the All-commits
mailing list