Assign the ordering of SDNodes in a much less intrusive fashion. After the
authorBill Wendling <isanbard@gmail.com>
Thu, 28 Jan 2010 21:51:40 +0000 (21:51 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 28 Jan 2010 21:51:40 +0000 (21:51 +0000)
commit4533cac557cdcc13e7c990942758ec8338d9172a
tree0ed2a694d0e4a38fb0115393602dceb2b950cb26
parent1124cc02b475e42a46b31c076d1248a6daf723df
Assign the ordering of SDNodes in a much less intrusive fashion. After the
"visit*" method is called, take the newly created nodes, walk them in a DFS
fashion, and if they don't have an ordering set, then give it one.

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