diff options
author | Michal Gorny <mgorny@gentoo.org> | 2017-01-17 21:08:25 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2017-01-17 21:08:25 +0000 |
commit | a84a3472fdbc0774a17ac4a4839581c2d14df0a0 (patch) | |
tree | 05463147a3d3f2555ddecb43d4f16f4f6b8e04b3 /test/xray/lit.cfg | |
parent | 1239731393406a4857137301f7c41da0b67e969e (diff) |
[test] [builtins] Remove obsolete/UB tests in __fixuns?fdi based
Remove the failing tests for __fixunssfdi() and __fixunsdfdi() that
relied on undefined (and most likely obsolete in terms of compiler-rt
implementation behavior).
Both tests presumed that 0x1.p+64 would be converted to
0xFFFFFFFFFFFFFFFFLL, that is the largest value in uint64 range.
However, the C/C++ standards do not specify the behavior for converting
a floating-point value to an integer of smaller range, and in this case
both libgcc and compiler-rt implementations return 0 instead.
Since the current behavior is correct with regards to standards
and there is no good way of expressing 0xFFFFFFFFFFFFFFFFLL in single-
or double-precision float, I've removed the failing test altogether.
Differential Revision: https://reviews.llvm.org/D28146
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@292257 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/xray/lit.cfg')
0 files changed, 0 insertions, 0 deletions