OSDN Git Service

Implement ((A|B)&1)|(B&-2) -> (A&1) | B transformation. This also takes care of
authorBill Wendling <isanbard@gmail.com>
Mon, 1 Dec 2008 01:07:11 +0000 (01:07 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 1 Dec 2008 01:07:11 +0000 (01:07 +0000)
commitb3833d1eb91af5d35abe2a239b8577644ce157b0
tree073673795da04090fa242f688db8319ae3cc50a9
parent3864cd4cab956526b99b634e15e7fd5d5441e3a7
Implement ((A|B)&1)|(B&-2) -> (A&1) | B transformation. This also takes care of
permutations of this pattern.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60312 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/README.txt
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/and-or.ll [new file with mode: 0644]