Move some those Xor simplifications which don't require creating new
authorDuncan Sands <baldrick@free.fr>
Wed, 17 Nov 2010 18:52:15 +0000 (18:52 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 17 Nov 2010 18:52:15 +0000 (18:52 +0000)
commit2b749870d0488c3b049edf5d0c8875f56f5b1bed
tree18afe3a1c1876a3a43e139d1b39e2e54ec780f60
parent89e14c7579d9351da2e39a85703882bac3a83980
Move some those Xor simplifications which don't require creating new
instructions out of InstCombine and into InstructionSimplify.  While
there, introduce an m_AllOnes pattern to simplify matching with integers
and vectors with all bits equal to one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119536 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/InstructionSimplify.h
include/llvm/Support/PatternMatch.h
lib/Analysis/InstructionSimplify.cpp
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp