hanchenye-llvm-project/compiler-rt
Michal Gorny 7b97bf233f [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

llvm-svn: 292257
2017-01-17 21:08:25 +00:00
..
cmake Reland "[CMake][compiler-rt] Mark libcxx build for tsan as standalone" 2017-01-16 00:33:02 +00:00
docs
include Revert "[XRay][compiler-rt] XRay Flight Data Recorder Mode" 2017-01-03 04:04:00 +00:00
lib [scudo] Eliminate the runtime dependency on libc++abi 2017-01-17 20:41:04 +00:00
test [test] [builtins] Remove obsolete/UB tests in __fixuns?fdi based 2017-01-17 21:08:25 +00:00
unittests Revert r292232. 2017-01-17 18:06:07 +00:00
www
.arcconfig
.gitignore
CMakeLists.txt [compiler-rt] suppress LNK4221 warning when creating static libraries 2017-01-04 21:40:00 +00:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
README.txt

README.txt

Compiler-RT
================================

This directory and its subdirectories contain source code for the compiler
support routines.

Compiler-RT is open source software. You may freely distribute it under the
terms of the license agreement found in LICENSE.txt.

================================