mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
Fix a bug the last patch exposed in treeadd among others
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23127 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2fef809b5b
commit
efa6abcb95
@ -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