OSDN Git Service

Add a bunch of calls to RemoveDeadNode in LegalizeDAG, so legalization doesn't get...
authorEli Friedman <eli.friedman@gmail.com>
Mon, 7 Nov 2011 22:51:10 +0000 (22:51 +0000)
committerStephen Hines <srhines@google.com>
Mon, 14 Nov 2011 17:11:57 +0000 (09:11 -0800)
commit2278edcb4a5a89eabc1bbe5a54535c7848e4f61a
tree4af4da51eb5c569d197ea7c20fe78604b7f7429b
parent8b2139f5e988cd975f74dec8238aa74541a7658d
Add a bunch of calls to RemoveDeadNode in LegalizeDAG, so legalization doesn't get confused by CSE later on.  Fixes PR11318.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144034 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
test/CodeGen/X86/2011-11-07-LegalizeBuildVector.ll [new file with mode: 0644]