llvm-project/llvm/lib
Sanjay Patel c6c5965a42 [InstCombine] sub X, sext(bool Y) -> add X, zext(bool Y)
Prefer add/zext because they are better supported in terms of value-tracking.

Note that the backend should be prepared for this IR canonicalization 
(including vector types) after:
https://reviews.llvm.org/rL284015

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

llvm-svn: 284241
2016-10-14 15:24:31 +00:00
..
Analysis Create llvm.addressofreturnaddress intrinsic 2016-10-12 22:13:19 +00:00
AsmParser [X86] Basic additions to support RegCall Calling Convention. 2016-10-13 07:53:43 +00:00
Bitcode ThinLTO: handles modules with empty summaries 2016-10-08 04:44:18 +00:00
CodeGen [DAG] add folds for negated shifted sign bit 2016-10-14 14:26:47 +00:00
DebugInfo Truncate long names in type records 2016-10-13 17:33:22 +00:00
Demangle Avoid using alignas and constexpr. 2016-09-06 20:36:24 +00:00
ExecutionEngine Use StringRef instead of raw pointer in ExecutionEngine 2016-10-01 06:22:04 +00:00
Fuzzer [libFuzzer] more detailed message for disabled leak detection 2016-10-13 22:24:10 +00:00
IR [X86] Basic additions to support RegCall Calling Convention. 2016-10-13 07:53:43 +00:00
IRReader
LTO LTO: Use the correct mangler function in LTOCodeGenerator::applyScopeRestrictions(). 2016-10-12 20:12:19 +00:00
LibDriver Object: Replace NewArchiveIterator with a simpler NewArchiveMember class. NFCI. 2016-06-29 22:27:42 +00:00
LineEditor Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes. 2016-03-28 17:40:08 +00:00
Linker [ThinLTO] Don't link module level assembly when importing 2016-10-12 18:39:29 +00:00
MC Tidy the calls to getCurrentSection().first -> getCurrentSectionOnly to help 2016-10-14 05:47:37 +00:00
Object Next set of additional error checks for invalid Mach-O files for the 2016-10-11 21:04:39 +00:00
ObjectYAML [macho2yaml] Don't write empty linkedit data 2016-08-17 21:46:04 +00:00
Option Generalize ArgList::AddAllArgs more 2016-09-29 19:47:58 +00:00
Passes Fix test after renaming -name-anon-functions pass to -name-anon-globals 2016-09-16 17:18:16 +00:00
ProfileData [Coverage] Factor out logic to create FunctionRecords (NFC) 2016-10-12 22:27:45 +00:00
Support Define "contiki" OS specifier. 2016-10-14 14:41:46 +00:00
TableGen Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes. 2016-08-23 17:14:32 +00:00
Target AMDGPU: Select 64-bit {ADD,SUB}{C,E} nodes 2016-10-14 10:30:00 +00:00
Transforms [InstCombine] sub X, sext(bool Y) -> add X, zext(bool Y) 2016-10-14 15:24:31 +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