InstSimplify: Try to bring back the rest of r223583
authorDavid Majnemer <david.majnemer@gmail.com>
Mon, 8 Dec 2014 18:30:43 +0000 (18:30 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Mon, 8 Dec 2014 18:30:43 +0000 (18:30 +0000)
commitfca9c7b21c2849f7722e5d6e53397134cd9329bf
tree8d5452585ff08bd7f144c5a51bd213a4f54afebf
parent28eb431b8cba1e989e5eeefb3eba37026117209a
InstSimplify: Try to bring back the rest of r223583

This reverts r223624 with a small tweak, hopefully this will make stage3
equivalent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223679 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InstructionSimplify.cpp
test/Transforms/InstSimplify/AndOrXor.ll