InstCombine: Remove a special case pattern
authorDavid Majnemer <david.majnemer@gmail.com>
Fri, 5 Sep 2014 06:09:24 +0000 (06:09 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Fri, 5 Sep 2014 06:09:24 +0000 (06:09 +0000)
commit163462eec8c253fae1ed76db39830cceff1a6d87
tree3f6382573e283a2a1c459df3f93efc646ca62f52
parent0452bfda4f2aeaa97bde701d5841a36a9d83485f
InstCombine: Remove a special case pattern

The special case did not work when run under -reassociate and can easily
be expressed by a further generalization of an existing pattern.

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