The visitXOR method can return the same SDNode. If so, we don't want to delete
authorBill Wendling <isanbard@gmail.com>
Tue, 20 Apr 2010 01:25:01 +0000 (01:25 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 20 Apr 2010 01:25:01 +0000 (01:25 +0000)
commit86c5abb4c0edfffdd24729e142a62b9b949f025d
treeb66deb0a233f200e86bbf885dea7e6ee9394c7fa
parentd7aba875c14dd512ff19458c28dc0ea5681ef86a
The visitXOR method can return the same SDNode. If so, we don't want to delete
it as it's not dead.

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