llvm-6502/test
Rafael Espindola 82db274d15 InstCombine: Improvement to check if signed addition overflows.
This patch implements two things:

1. If we know one number is positive and another is negative, we return true as
    signed addition of two opposite signed numbers will never overflow.

2. Implemented TODO : If one of the operands only has one non-zero bit, and if
    the other operand has a known-zero bit in a more significant place than it
    (not including the sign bit) the ripple may go up to and fill the zero, but
    won't change the sign. e.x -  (x & ~4) + 1

We make sure that we are ignoring 0 at MSB.

Patch by Suyog Sarda.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210186 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-04 15:39:14 +00:00
..
Analysis remove constant terms 2014-05-27 22:41:45 +00:00
Assembler Allow alias to point to an arbitrary ConstantExpr. 2014-06-03 02:41:57 +00:00
Bindings
Bitcode Allow alias to point to an arbitrary ConstantExpr. 2014-06-03 02:41:57 +00:00
BugPoint
CodeGen Revert r209381 as it isn't a local variable. Add a testcase so that 2014-06-03 21:01:39 +00:00
DebugInfo DebugInfo: Partial revert r209984 due to more cases where abstract DbgVariables do not have associated DIEs. 2014-06-04 01:30:59 +00:00
ExecutionEngine Fix testers by removing dubious testcase for r209154. 2014-05-19 19:38:48 +00:00
Feature Fix a small bug in the parsing of anonymous globals. 2014-06-03 20:07:32 +00:00
FileCheck
Instrumentation [asan] Fix coverage instrumentation with -asan-globals=0. 2014-06-03 14:16:00 +00:00
Integer
JitListener
Linker Allow alias to point to an arbitrary ConstantExpr. 2014-06-03 02:41:57 +00:00
LTO
MC MachO: move test to ARM directory. 2014-05-30 16:01:29 +00:00
Object [yaml2obj] Add new command line option -docnum. 2014-05-31 04:51:07 +00:00
Other
TableGen
tools
Transforms InstCombine: Improvement to check if signed addition overflows. 2014-06-04 15:39:14 +00:00
Unit
Verifier Allow alias to point to an arbitrary ConstantExpr. 2014-06-03 02:41:57 +00:00
YAMLParser
.clang-format
CMakeLists.txt OK, NAKAMURA Takumi beat me to this change. So backing out my addition of 2014-05-19 23:26:51 +00:00
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh