llvm-project/llvm/lib
Alexey Bataev 62af7252f1 [SLP] Fixed cost model for horizontal reduction.
Currently when cost of scalar operations is evaluated the vector type is
used for scalar operations. Patch fixes this issue and fixes evaluation
of the vector operations cost.
Several test showed that vector cost model is too optimistic. It
allowed vectorization of 8 or less add/fadd operations, though scalar
code is faster. Actually, only for 16 or more operations vector code
provides better performance.

Differential Revision: https://reviews.llvm.org/D26277

llvm-svn: 288398
2016-12-01 18:42:42 +00:00
..
Analysis Object: Extract a ModuleSymbolTable class from IRObjectFile. 2016-12-01 06:51:47 +00:00
AsmParser [AsmParser] Avoid recursing when lexing ';'. NFC. 2016-11-16 22:25:05 +00:00
Bitcode Bitcode: The index used by ModuleSummaryIndexBitcodeReader is now required, so make it a reference. NFCI. 2016-12-01 06:21:08 +00:00
CodeGen [SelectionDAG] Rename and clarify visitFMULForFMADCombine (NFC) 2016-12-01 14:04:13 +00:00
DebugInfo [DebugInfo] Fix some Clang-tidy modernize-use-default and Include What You Use warnings; other minor fixes (NFC). 2016-11-23 23:16:32 +00:00
Demangle Demangle: remove references to allocator for default allocator 2016-11-20 00:20:27 +00:00
ExecutionEngine Fix some Clang-tidy and Include What You Use warnings; other minor fixes (NFC). 2016-11-30 17:48:10 +00:00
Fuzzer [libFuzzer] add a test for r288389 (-rss_limit_mb=0 means no limit). 2016-12-01 18:02:07 +00:00
IR [GVN, OptDiag] Include the value that is forwarded in load elimination 2016-12-01 17:34:44 +00:00
IRReader Timer: Track name and description. 2016-11-18 19:43:18 +00:00
LTO Object: Extract a ModuleSymbolTable class from IRObjectFile. 2016-12-01 06:51:47 +00:00
LibDriver Object: Replace NewArchiveIterator with a simpler NewArchiveMember class. NFCI. 2016-06-29 22:27:42 +00:00
LineEditor
Linker [ThinLTO] Fix crash when importing an opaque type 2016-11-19 18:44:16 +00:00
MC [llvm] Implement support for -defsym assembler option 2016-12-01 18:42:04 +00:00
Object Remove iostream include from WasmObjectFile 2016-12-01 15:20:34 +00:00
ObjectYAML Fix Clang-tidy readability-redundant-string-cstr warnings 2016-11-02 16:43:50 +00:00
Option Generalize ArgList::AddAllArgs more 2016-09-29 19:47:58 +00:00
Passes [PM] Change the static object whose address is used to uniquely identify 2016-11-23 17:53:26 +00:00
ProfileData Make the Error class constructor protected 2016-11-11 04:28:40 +00:00
Support Use trigrams to speed up SpecialCaseList. 2016-12-01 02:54:54 +00:00
TableGen TableGen: Add operator !or 2016-11-15 06:49:28 +00:00
Target [X86][SSE] Moved shuffle mask widening/narrowing helper functions earlier in the file. 2016-12-01 18:27:19 +00:00
Transforms [SLP] Fixed cost model for horizontal reduction. 2016-12-01 18:42:42 +00:00
CMakeLists.txt Try to fix a circular dependency in the modules build. 2016-09-06 20:16:19 +00:00
LLVMBuild.txt Add an c++ itanium demangler to llvm. 2016-09-06 19:16:48 +00:00