SelectionDAG: Use InsertNode for EntryNode
authorMatthias Braun <matze@braunis.de>
Mon, 21 Sep 2015 17:41:05 +0000 (17:41 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 21 Sep 2015 17:41:05 +0000 (17:41 +0000)
commit9f85a3a7378593c70bf948e6f057ae4a288e5ba8
tree9440edef3df1c20e4c40b72640228f2bab37e36d
parenta3e49ea99afc3c9f43953bdc3b3bd77970ed510d
SelectionDAG: Use InsertNode for EntryNode

This fixes problems where two nodes have persistent debug id 0 assigned.

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