OSDN Git Service

DAGCombine: visitXOR can replace a node without returning it, bail out in that case.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 30 Mar 2013 21:28:18 +0000 (21:28 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 30 Mar 2013 21:28:18 +0000 (21:28 +0000)
commit0b68b758bbb6718fc67423109eeb9df64c711a37
treee4755a5946ffdba795e72075abdf24a8a484f1dc
parent531ebc8a3cf0fdc5c30d072ab356283ce8dd145f
DAGCombine: visitXOR can replace a node without returning it, bail out in that case.

Fixes the crash reported in PR15608.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178429 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/2013-01-09-DAGCombineBug.ll