Fix some code in the current node combining code, spotted when it was moved
authorNate Begeman <natebegeman@mac.com>
Thu, 1 Sep 2005 23:25:49 +0000 (23:25 +0000)
committerNate Begeman <natebegeman@mac.com>
Thu, 1 Sep 2005 23:25:49 +0000 (23:25 +0000)
commit39f60a230243d8da02f5e17be3f8918f689ec72b
treedbc6f16609f291bf6057dc5d49d57d95eaa80d61
parent4ebd805c6af9db5099214b463003387691df50e8
Fix some code in the current node combining code, spotted when it was moved
over to DAGCombiner.cpp

1. Don't assume that SetCC returns i1 when folding (xor (setcc) constant)
2. Don't duplicate code in folding AND with AssertZext that is handled by
   MaskedValueIsZero

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23196 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp