Unrevert r195599 with testcase fix.
authorBill Wendling <isanbard@gmail.com>
Mon, 25 Nov 2013 18:05:22 +0000 (18:05 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 25 Nov 2013 18:05:22 +0000 (18:05 +0000)
commit5df09f0367c364ab7a544fcd7d05d6fc6d52f974
treeb0bf6f12a5f69553c6773adca7d6c018a6734835
parentbb0cd33b842c8d7964741d9ca1247d1ce6bd957e
Unrevert r195599 with testcase fix.

I'm not sure how it was checking for the wrong values...
PR18023.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195670 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/pr18023.ll [new file with mode: 0644]