llvm-project/llvm/test
Joerg Sonnenberger 28bed106e0 Do not translate rint into nearbyint, but truncate it like nearbyint.
A common way to implement nearbyint is by fiddling with the floating
point environment and calling rint. This is used at least by the BSD
libm and musl. As such, canonicalizing the latter to the former will
create infinite loops for libm and generally pessimize performance, at
least when the generic C versions are used.

This change preserves the rint in the libcall translation and also
handles the domain truncation logic, so that rint with float argument
will be reduced to rintf etc.

llvm-svn: 299247
2017-03-31 19:58:07 +00:00
..
Analysis [ScalarEvolution] Re-enable Predicate implication from operations 2017-03-31 12:05:30 +00:00
Assembler [IR] Add AllowContract to FastMathFlags 2017-03-28 20:11:52 +00:00
Bindings
Bitcode [IR] Add AllowContract to FastMathFlags 2017-03-28 20:11:52 +00:00
BugPoint [IR/Verifier] List the CU we weren't able to find in `llvm.dbg.cu`. 2017-02-20 22:51:42 +00:00
CodeGen AMDGPU: Remove unnecessary ands when f16 is legal 2017-03-31 19:53:03 +00:00
DebugInfo Improve DebugInfo/strip-loop-metadata.ll test 2017-03-31 17:51:12 +00:00
Examples
ExecutionEngine
Feature Disable gvn-hoist (PR32153) 2017-03-06 21:10:40 +00:00
FileCheck [FileCheck] Added --enable-var-scope option to enable scope for regex variables. 2017-03-09 17:59:04 +00:00
Instrumentation Revert "[asan] Delay creation of asan ctor." 2017-03-27 23:11:50 +00:00
Integer
JitListener
LTO Perform symbol binding for .symver versioned symbols 2017-03-09 00:19:49 +00:00
LibDriver
Linker [Linker] Provide callback for internalization 2017-03-13 18:08:11 +00:00
MC Revert "Dont emit Mapping symbols for sections that contain only data." 2017-03-28 17:15:11 +00:00
Object Add ifunc support to ModuleSymbolTable. 2017-03-29 19:26:26 +00:00
ObjectYAML [WebAssembly] Improve support for WebAssembly binary format 2017-03-30 19:44:09 +00:00
Other Bring back r297624. 2017-03-13 20:00:25 +00:00
SymbolRewriter
TableGen [tablegen][globalisel] Capture instructions into locals and related infrastructure for multiple instructions matches. 2017-03-20 15:20:42 +00:00
ThinLTO/X86 Add support for -fno-builtin to LTO and ThinLTO to libLTO 2017-03-28 18:55:44 +00:00
Transforms Do not translate rint into nearbyint, but truncate it like nearbyint. 2017-03-31 19:58:07 +00:00
Unit
Verifier [DebugInfo] Emit address space with DW_AT_address_class attribute for pointer and reference types 2017-03-08 23:55:44 +00:00
YAMLParser
tools [XRay][tools] Remove some assertions in llvm-xray graph 2017-03-31 01:56:45 +00:00
.clang-format
CMakeLists.txt
TestRunner.sh
lit.cfg
lit.site.cfg.in