Per Chris' suggestion, get rid of the select canonicalization and just add
authorOwen Anderson <resistor@mac.com>
Thu, 15 Jul 2010 17:24:23 +0000 (17:24 +0000)
committerOwen Anderson <resistor@mac.com>
Thu, 15 Jul 2010 17:24:23 +0000 (17:24 +0000)
commit40bf5e7a6811bf31b6853d2c71c08feed871419b
treeb816c2fde4c36635f058831f1a590f4d1a0a3569
parent2722dfa75dbf4436197f6fcf9d8cb2391975f1a1
Per Chris' suggestion, get rid of the select canonicalization and just add
the corresponding or-icmp-and pattern.  This has the added benefit of doing
the matching earlier, and thus being less susceptible to being confused by
earlier transforms.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108429 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
lib/Transforms/InstCombine/InstCombineSelect.cpp