llvm-6502/lib
Dinesh Dwivedi 52c92df181 This patch enables SimplifyUsingDistributiveLaws() to handle following pattens.
(X >> Z) & (Y >> Z)  -> (X&Y) >> Z  for all shifts.
(X >> Z) | (Y >> Z)  -> (X|Y) >> Z  for all shifts.
(X >> Z) ^ (Y >> Z)  -> (X^Y) >> Z  for all shifts.

These patterns were previously handled separately in visitAnd()/visitOr()/visitXor().

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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216443 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-26 08:53:32 +00:00
..
Analysis InstSimplify: Fold gep X, (sub 0, ptrtoint(X)) to null 2014-08-26 07:08:03 +00:00
AsmParser Declare that musttail calls in variadic functions forward the ellipsis 2014-08-26 00:33:28 +00:00
Bitcode Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
CodeGen CodeGen/LiveVariables: use vector::assign() 2014-08-26 02:03:25 +00:00
DebugInfo
ExecutionEngine ExecutionEngine: address review comments 2014-08-26 02:03:28 +00:00
IR Declare that musttail calls in variadic functions forward the ellipsis 2014-08-26 00:33:28 +00:00
IRReader
LineEditor
Linker
LTO Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
MC Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
Object Explicitly pass ownership of the MemoryBuffer to AddNewSourceBuffer using std::unique_ptr 2014-08-21 20:44:56 +00:00
Option Fix PR17239 by changing the semantics of the RemainingArgsClass Option kind 2014-08-22 19:29:17 +00:00
ProfileData llvm-cov: add code coverage tool that's based on coverage mapping format and clang's pgo. 2014-08-22 22:56:03 +00:00
Support Revert "Support/APFloat: unique_ptr-ify temp arrays" 2014-08-26 02:03:33 +00:00
TableGen Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
Target AArch64: use std::fill instead of memset 2014-08-26 03:33:26 +00:00
Transforms This patch enables SimplifyUsingDistributiveLaws() to handle following pattens. 2014-08-26 08:53:32 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile