llvm-6502/lib/Transforms
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
..
Hello [CMake] Add LLVM_LINK_COMPONENTS to loadable modules, LLVMHello and BugpointPasses, on Win32. 2014-07-13 13:36:48 +00:00
InstCombine This patch enables SimplifyUsingDistributiveLaws() to handle following pattens. 2014-08-26 08:53:32 +00:00
Instrumentation Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
IPO musttail: Don't eliminate varargs packs if there is a forwarding call 2014-08-26 00:59:51 +00:00
ObjCARC Use range based for loops to avoid needing to re-mention SmallPtrSet size. 2014-08-24 23:23:06 +00:00
Scalar Use range based for loops to avoid needing to re-mention SmallPtrSet size. 2014-08-24 23:23:06 +00:00
Utils Remove dangling initializers in GlobalDCE 2014-08-25 17:51:14 +00:00
Vectorize fix typos in comments 2014-08-26 00:59:15 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile