1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/test
Preston Gurd 8be7e42cc2 Convert sqrt functions into sqrt instructions when -ffast-math is in effect.
When -ffast-math is in effect (on Linux, at least), clang defines
__FINITE_MATH_ONLY__ > 0 when including <math.h>. This causes the
preprocessor to include <bits/math-finite.h>, which renames the sqrt functions.
For instance, "sqrt" is renamed as "__sqrt_finite". 

This patch adds the 3 new names in such a way that they will be treated
as equivalent to their respective original names.

llvm-svn: 182739
2013-05-27 15:44:35 +00:00
..
Analysis Add a new function attribute 'cold' to functions. 2013-05-24 12:26:52 +00:00
Archive
Assembler
Bindings/Ocaml
Bitcode
BugPoint
CodeGen Convert sqrt functions into sqrt instructions when -ffast-math is in effect. 2013-05-27 15:44:35 +00:00
DebugInfo Solidify the assumption that a DW_TAG_subprogram's type is a DW_TAG_subroutine_type 2013-05-22 23:22:18 +00:00
ExecutionEngine Disable remote MCJIT on pre-v6 ARM 2013-05-20 07:46:06 +00:00
Feature Add a new function attribute 'cold' to functions. 2013-05-24 12:26:52 +00:00
FileCheck Add 'CHECK-DAG' support 2013-05-14 20:34:12 +00:00
Instrumentation [msan] A no-op implementation of VarArg handling. 2013-05-21 12:27:47 +00:00
Integer Rewrite test/Integer tests to use FileCheck instead of grep 2013-04-08 20:18:15 +00:00
JitListener
Linker Rewrite test/Linker tests to use FileCheck instead of grep. 2013-04-09 16:51:13 +00:00
MC Add support for DWARF line number table entries for values in the instruction 2013-05-25 21:56:53 +00:00
Object Add MCSymbolizer for symbolic/annotated disassembly. 2013-05-24 00:39:57 +00:00
Other Attributes: Don't print trailing whitespace on the function attribute comment. 2013-04-19 11:43:21 +00:00
TableGen
tools Use pointers to iterate over symbols. 2013-04-24 19:47:55 +00:00
Transforms Track IR ordering of SelectionDAG nodes 3/4. 2013-05-25 03:08:10 +00:00
Unit Propagate path to ASan/MSan symbolizer into test environment to produce useful reports on errors. 2013-04-04 07:41:00 +00:00
Verifier Also verify llvm.compiler_used. 2013-04-22 15:16:51 +00:00
YAMLParser
CMakeLists.txt Add obj2yaml to test dependencies 2013-04-05 07:26:37 +00:00
lit.cfg AArch64: use MCJIT by default and enable related tests. 2013-05-06 16:51:08 +00:00
lit.site.cfg.in Allow host triple to be correctly overridden in CMake builds 2013-05-04 07:36:23 +00:00
Makefile add polly to check-all 2013-05-20 18:49:15 +00:00
Makefile.tests Remove obsolete object file dumpers 2013-04-12 04:07:13 +00:00
TestRunner.sh