OSDN Git Service

Move optimization of some cases of (A & C1)|(B & C2) from instcombine to instsimplify...
authorNick Lewycky <nicholas@mxc.ca>
Thu, 19 Jun 2014 03:51:46 +0000 (03:51 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 19 Jun 2014 03:51:46 +0000 (03:51 +0000)
commitfe3a219355b58428b93461c6c0517a9b90ebe962
tree1bdd7434c6a722a9e3d0dc15ac3262557021feae
parent650b6ea893c118bf0c6e40cd3002954cc34df2bb
Move optimization of some cases of (A & C1)|(B & C2) from instcombine to instsimplify. Patch by Rahul Jain, plus some last minute changes by me -- you can blame me for any bugs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211252 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InstructionSimplify.cpp
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
test/Transforms/InstSimplify/apint-or.ll [new file with mode: 0644]