llvm-6502/lib
Owen Anderson 26c5663283 Invert and-of-or into or-of-and when doing so would allow us to clear bits of the and's mask.
This can result in increased opportunities for store narrowing in code generation.  Update a number of
tests for this change.  This fixes <rdar://problem/8285027>.

Additionally, because this inverts the order of ors and ands, some patterns for optimizing or-of-and-of-or
no longer fire in instances where they did originally.  Add a simple transform which recaptures most of these
opportunities: if we have an or-of-constant-or and have failed to fold away the inner or, commute the order 
of the two ors, to give the non-constant or a chance for simplification instead.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113679 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-11 05:48:06 +00:00
..
Analysis Teach InstructionSimplify to fold (A & B) & A -> A & B and (A | B) | A -> A | B. 2010-09-10 22:39:55 +00:00
Archive CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally. 2010-09-10 21:14:25 +00:00
AsmParser CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally. 2010-09-10 21:14:25 +00:00
Bitcode CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally. 2010-09-10 21:14:25 +00:00
CodeGen Rename ConvertToSetZeroFlag to something more general. 2010-09-11 00:13:50 +00:00
CompilerDriver CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally. 2010-09-10 21:14:25 +00:00
ExecutionEngine CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally. 2010-09-10 21:14:25 +00:00
Linker CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally. 2010-09-10 21:14:25 +00:00
MC CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally. 2010-09-10 21:14:25 +00:00
Support Create PTX backend. Patch by Che-Liang Chiou! 2010-09-07 18:14:24 +00:00
System lib/System/Host.cpp: 7bit-ize. Eliminate "TM" and "(R)" in comments. 2010-09-09 13:30:48 +00:00
Target Rename ConvertToSetZeroFlag to something more general. 2010-09-11 00:13:50 +00:00
Transforms Invert and-of-or into or-of-and when doing so would allow us to clear bits of the and's mask. 2010-09-11 05:48:06 +00:00
VMCore Add X86 MMX type to bitcode and Type. 2010-09-10 20:55:01 +00:00
Makefile