llvm-6502/test
Benjamin Kramer 37bc2f3216 [Reassociate] Similar to "X + -X" -> "0", added code to handle "X + ~X" -> "-1".
Handle "X + ~X" -> "-1" in the function Value *Reassociate::OptimizeAdd(Instruction *I, SmallVectorImpl<ValueEntry> &Ops);
This patch implements:
TODO: We could handle "X + ~X" -> "-1" if we wanted, since "-X = ~X+1".

Patch by Rahul Jain!

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209973 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-31 15:01:54 +00:00
..
Analysis remove constant terms 2014-05-27 22:41:45 +00:00
Assembler No need for those tests to go thru llvm-as and/or llvm-dis. 2014-05-27 22:03:28 +00:00
Bindings
Bitcode [X86] Move test from r209863 to CodeGen/X86 2014-05-29 23:52:53 +00:00
BugPoint
CodeGen R600/SI: Fix [s|u]int_to_fp for i1 2014-05-31 06:47:42 +00:00
DebugInfo No need for those tests to go thru llvm-as and/or llvm-dis. 2014-05-27 22:03:28 +00:00
ExecutionEngine
Feature Rename alias variables to make it easier to add new tests to the file. 2014-05-29 16:16:12 +00:00
FileCheck
Instrumentation [TSan] Fixup a test case after r209939 2014-05-31 00:26:03 +00:00
Integer
JitListener
Linker DebugInfo: Lazily construct subprogram definition DIEs. 2014-05-27 18:37:48 +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 [Reassociate] Similar to "X + -X" -> "0", added code to handle "X + ~X" -> "-1". 2014-05-31 15:01:54 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh