mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-13 10:32:06 +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) {
|
virtual void InstructionSelectBasicBlock(SelectionDAG &DAG) {
|
||||||
DEBUG(BB->dump());
|
DEBUG(BB->dump());
|
||||||
// Select target instructions for the DAG.
|
// Select target instructions for the DAG.
|
||||||
Select(DAG.getRoot());
|
DAG.setRoot(Select(DAG.getRoot()));
|
||||||
DAG.RemoveDeadNodes();
|
DAG.RemoveDeadNodes();
|
||||||
|
|
||||||
// Emit machine code to BB.
|
// Emit machine code to BB.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user