diff options
author | Peter Klausler <pklausler@nvidia.com> | 2022-06-20 17:22:33 -0700 |
---|---|---|
committer | Peter Klausler <pklausler@nvidia.com> | 2022-06-23 11:16:39 -0700 |
commit | 1ef5e6de7605434cb6316847a46eb01c23c70715 (patch) | |
tree | 4395a116cd3a86bd30a30c151667e84b80f674b5 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | dfaa3880e1f90b9f4540c4c8ef1d19d4dfad8ace (diff) | |
download | llvm-1ef5e6de7605434cb6316847a46eb01c23c70715.zip llvm-1ef5e6de7605434cb6316847a46eb01c23c70715.tar.gz llvm-1ef5e6de7605434cb6316847a46eb01c23c70715.tar.bz2 |
[flang] Make SQRT folding exact
Replace the latter half of the SQRT() folding algorithm with code that
calculates an exact root with extra rounding bits, and then lets the
usual normalization and rounding code do the right thing. Extend
tests to catch regressions.
Differential Revision: https://reviews.llvm.org/D128395
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions