diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-09-26 14:06:58 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-09-26 14:06:58 +0000 |
commit | 3e7735fe1c9e8f1cbad1bac02fbb998017fd0cbb (patch) | |
tree | 438b0956b900cfe4122320661082c65a9ddf82d4 /lib/Analysis/CodeMetrics.cpp | |
parent | 50b7d70707960155ad28ff23d7622009b7b97eb3 (diff) |
APFloat::roundToIntegral: Special values don't keep the exponent value up to date, don't rely on it.
Add a couple of unit tests for special floats. Fixes 13929, found by MemorySanitizer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164698 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CodeMetrics.cpp')
0 files changed, 0 insertions, 0 deletions