mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-05 12:31:46 +00:00
After selecting the instructions for a basic block, emit the instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22869 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d32b23690d
commit
d607c12e8e
@ -58,10 +58,14 @@ namespace {
|
||||
/// SelectionDAGISel when it has created a SelectionDAG for us to codegen.
|
||||
virtual void InstructionSelectBasicBlock(SelectionDAG &DAG) {
|
||||
DEBUG(BB->dump());
|
||||
// Codegen the basic block.
|
||||
// Select target instructions for the DAG.
|
||||
Select(DAG.getRoot());
|
||||
DAG.RemoveDeadNodes();
|
||||
|
||||
DAG.viewGraph();
|
||||
|
||||
// Emit machine code to BB.
|
||||
ScheduleAndEmitDAG(DAG);
|
||||
}
|
||||
|
||||
virtual const char *getPassName() const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user