mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Fix a bug the last patch exposed in treeadd among others
llvm-svn: 23127
This commit is contained in:
parent
9821903d65
commit
bc3fb85efd
@ -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
Block a user