[all-commits] [llvm/llvm-project] 1cff71: [flang] Fold intrinsic functions SPACING() and RRS...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon May 9 14:09:46 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1cff71b975bf4138604775dd32126bb564704ec7
https://github.com/llvm/llvm-project/commit/1cff71b975bf4138604775dd32126bb564704ec7
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-05-09 (Mon, 09 May 2022)
Changed paths:
M flang/include/flang/Evaluate/real.h
M flang/lib/Evaluate/fold-real.cpp
M flang/lib/Evaluate/real.cpp
A flang/test/Evaluate/fold-spacing.f90
Log Message:
-----------
[flang] Fold intrinsic functions SPACING() and RRSPACING()
The related real number system inquiry functions SPACING()
and RRSPACING() can be folded for constant arguments.
See 16.9.164 & 16.9.180 in Fortran 2018.
Differential Revision: https://reviews.llvm.org/D125100
More information about the All-commits
mailing list