aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2021-11-10 14:02:30 -0800
committerPeter Klausler <pklausler@nvidia.com>2021-11-12 11:16:25 -0800
commitd1b09adeebe8e2faf2c18fd24b9f83e89087a1e8 (patch)
tree4e086185d4bb18a6dd22ee272b19fb4e93140bd1 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parentf46f93b4786377dd7ee704ef2beedadfe4f05adf (diff)
downloadllvm-d1b09adeebe8e2faf2c18fd24b9f83e89087a1e8.zip
llvm-d1b09adeebe8e2faf2c18fd24b9f83e89087a1e8.tar.gz
llvm-d1b09adeebe8e2faf2c18fd24b9f83e89087a1e8.tar.bz2
[flang] Fix rounding edge case in F output editing
When an Fw.d output edit descriptor has a "d" value exactly equal to the number of zeroes after the decimal point for a value (e.g., 0.07 with F5.1), the Fw.d output editing code needs to do the rounding itself to either 0.0 or 0.1 after performing a conversion without rounding (to avoid 0.04999 rounding up twice). Differential Revision: https://reviews.llvm.org/D113698
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions