forked from OSchip/llvm-project
Fix a bug the last patch exposed in treeadd among others
llvm-svn: 23127
This commit is contained in:
parent
d4d683a47b
commit
c429ab2fb1
|
@ -87,7 +87,7 @@ namespace {
|
|||
virtual void InstructionSelectBasicBlock(SelectionDAG &DAG) {
|
||||
DEBUG(BB->dump());
|
||||
// Select target instructions for the DAG.
|
||||
Select(DAG.getRoot());
|
||||
DAG.setRoot(Select(DAG.getRoot()));
|
||||
DAG.RemoveDeadNodes();
|
||||
|
||||
// Emit machine code to BB.
|
||||
|
|
Loading…
Reference in New Issue