1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test
Sanjay Patel 3046d570c6 Handle sqrt() shrinking in SimplifyLibCalls like any other call
This patch removes a chunk of special case logic for folding 
(float)sqrt((double)x) -> sqrtf(x)
in InstCombineCasts and handles it in the mainstream path of SimplifyLibCalls.

No functional change intended, but I loosened the restriction on the existing
sqrt testcases to allow for this optimization even without unsafe-fp-math because
that's the existing behavior.

I also added a missing test case for not shrinking the llvm.sqrt.f64 intrinsic
in case the result is used as a double.

Differential Revision: http://reviews.llvm.org/D5919

llvm-svn: 220514
2014-10-23 21:52:45 +00:00
..
Analysis [DSE] Remove no-data-layout-only type-based overlap checking 2014-10-17 11:56:00 +00:00
Assembler Delete -std-compile-opts. 2014-10-16 20:00:02 +00:00
Bindings Add llvm-go tool. 2014-10-23 02:33:23 +00:00
Bitcode
BugPoint
CodeGen Revert "Don't count inreg params when mangling fastcall functions" 2014-10-23 17:50:42 +00:00
DebugInfo DebugInfo: Simplify/tidy/correct global variable decl/def emission handling. 2014-10-23 19:12:43 +00:00
ExecutionEngine [MCJIT] Defer application of AArch64 MachO GOT relocations until resolve time. 2014-10-21 23:41:15 +00:00
Feature Delete -std-compile-opts. 2014-10-16 20:00:02 +00:00
FileCheck
Instrumentation [asan-asm-instrumentation] Fixed memory accesses with rbp as a base or an index register. 2014-10-21 10:22:27 +00:00
Integer
JitListener
Linker Cleanup this test a bit. 2014-10-23 19:36:21 +00:00
LTO
MC Revert r220427, "[Hexagon] Adding encoding bits for add opcode." 2014-10-23 11:31:22 +00:00
Object Handle spaces and quotes in file names in MRI scripts. 2014-10-22 03:10:56 +00:00
Other
TableGen
tools Update llvm-objdump’s Mach-O symbolizer code for Objective-C references. 2014-10-23 19:37:31 +00:00
Transforms Handle sqrt() shrinking in SimplifyLibCalls like any other call 2014-10-23 21:52:45 +00:00
Unit
Verifier Extend the verifier to validate range metadata on calls and invokes. 2014-10-20 23:52:07 +00:00
YAMLParser
.clang-format
CMakeLists.txt Make llvm-go test dependency optional. 2014-10-23 19:51:40 +00:00
lit.cfg Add llvm-go tool. 2014-10-23 02:33:23 +00:00
lit.site.cfg.in Teach lit to filter the host LDFLAGS down from the build system and into 2014-10-21 00:36:28 +00:00
Makefile Teach lit to filter the host LDFLAGS down from the build system and into 2014-10-21 00:36:28 +00:00
Makefile.tests
TestRunner.sh