llvm-project/llvm/lib
Sanjay Patel 9ad8fb68f7 [InstSimplify] analyze (optionally casted) icmps to eliminate obviously false logic (PR27869)
By moving this transform to InstSimplify from InstCombine, we sidestep the problem/question
raised by PR27869:
https://llvm.org/bugs/show_bug.cgi?id=27869
...where InstCombine turns an icmp+zext into a shift causing us to miss the fold.

Credit to David Majnemer for a draft patch of the changes to InstructionSimplify.cpp.

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

llvm-svn: 273200
2016-06-20 20:59:59 +00:00
..
Analysis [InstSimplify] analyze (optionally casted) icmps to eliminate obviously false logic (PR27869) 2016-06-20 20:59:59 +00:00
AsmParser IR: Introduce local_unnamed_addr attribute. 2016-06-14 21:01:22 +00:00
Bitcode Apply another batch of fixes from clang-tidy's performance-unnecessary-value-param. 2016-06-17 20:41:14 +00:00
CodeGen Indent consistently. 2016-06-19 12:37:52 +00:00
DebugInfo [codeview] Add an extra check for TPI hash values. 2016-06-20 07:31:29 +00:00
ExecutionEngine Apply another batch of fixes from clang-tidy's performance-unnecessary-value-param. 2016-06-17 20:41:14 +00:00
Fuzzer [libFuzzer] make the single-run output more reliable 2016-06-17 13:07:06 +00:00
IR Generalize DiagnosticInfoStackSize to support other limits 2016-06-20 18:13:04 +00:00
IRReader Remove autoconf support 2016-01-26 21:29:08 +00:00
LTO [PM] Port MergedLoadStoreMotion to the new pass manager, take two. 2016-06-17 19:10:09 +00:00
LibDriver LibDriver: Silently do nothing when provided no inputs. 2016-04-13 19:36:04 +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 [IR] [DAE] Copy comdats during DAE, and don't copy comdats in GlobalObject::copyAttributesFrom. 2016-06-15 23:20:15 +00:00
MC doesSetDirectiveSuppressesReloc -> doesSetDirectiveSuppressReloc, the 2016-06-18 23:25:37 +00:00
Object Support/ELF: Add AMDGPU relocation definitions to match documentation 2016-06-17 22:38:08 +00:00
ObjectYAML Support/ELF: Add AMDGPU relocation definitions to match documentation 2016-06-17 22:38:08 +00:00
Option Option parser: class for consuming a joined arg in addition to all remaining args 2016-04-15 00:23:30 +00:00
Passes Add a super basic LazyCallGraph DOT printer. 2016-06-18 09:17:32 +00:00
ProfileData [Coverage] Move logic to encode filenames and mappings into llvm (NFC) 2016-06-17 21:53:31 +00:00
Support Fix a relatively nasty bug with fs::getPathFromOpenFD() on Windows. The GetFinalPathNameByHandle API does not behave as documented; if given a buffer that has enough space for the path but not the null terminator, the call will return the number of characters required *without* the null terminator (despite being documented otherwise) and it will not set GetLastError(). The result was that this function would return a bogus path and no error. Instead, ensure there is sufficient space for a null terminator (we already strip it off manually for compatibility with older versions of Windows). 2016-06-20 20:28:49 +00:00
TableGen Avoid copies of std::strings and APInt/APFloats where we only read from it 2016-06-08 10:01:20 +00:00
Target Add a isPositionIndependent helper to ARMFastISel. NFC. 2016-06-20 19:00:05 +00:00
Transforms [InstSimplify] analyze (optionally casted) icmps to eliminate obviously false logic (PR27869) 2016-06-20 20:59:59 +00:00
CMakeLists.txt Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
LLVMBuild.txt Add LLVMBuild for ObjectYAML. 2016-03-01 21:29:33 +00:00