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 Revert r206989, "Mark llvm/test/BugPoint/compile-custom.ll as XFAIL:vg_leak." It has been fixed since r207265. 2014-04-27 11:59:33 +00:00
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 Fix testers by removing dubious testcase for r209154. 2014-05-19 19:38:48 +00:00
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 IR: Don't allow non-default visibility on local linkage 2014-05-07 22:57:20 +00:00
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 Fix most of PR10367. 2014-05-16 19:35:39 +00:00
TableGen test/TableGen: Remove XFAIL:vg_leak out of 3 tests corresponding to r208293. 2014-05-09 08:18:33 +00:00
tools ProfileData: Allow multiple profiles in RawInstrProfReader 2014-05-16 00:38:00 +00:00
Transforms [Reassociate] Similar to "X + -X" -> "0", added code to handle "X + ~X" -> "-1". 2014-05-31 15:01:54 +00:00
Unit
Verifier Add comdat key field to llvm.global_ctors and llvm.global_dtors 2014-05-16 20:39:27 +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 [Test] Remove c-index-test from the list of substitutions 2014-05-07 18:16:02 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh