diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-03-02 06:34:30 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-03-02 06:34:30 +0000 |
| commit | 6411e3e62ea9dfe23f5fa24b9d6a84da7ec70a98 (patch) | |
| tree | 5f278461d456eb535cbf5ce0391a8dba7661374b /lib/Target/CellSPU/SPUISelDAGToDAG.cpp | |
| parent | b99f6f386c561b66675f0b9798487d12ee7a1600 (diff) | |
| download | external_llvm-6411e3e62ea9dfe23f5fa24b9d6a84da7ec70a98.zip external_llvm-6411e3e62ea9dfe23f5fa24b9d6a84da7ec70a98.tar.gz external_llvm-6411e3e62ea9dfe23f5fa24b9d6a84da7ec70a98.tar.bz2 | |
Sink InstructionSelect() out of each target into SDISel, and rename it
DoInstructionSelection. Inline "SelectRoot" into it from DAGISelHeader.
Sink some other stuff out of DAGISelHeader into SDISel.
Eliminate the various 'Indent' stuff from various targets, which dates
to when isel was recursive.
17 files changed, 114 insertions(+), 430 deletions(-)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97555 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU/SPUISelDAGToDAG.cpp')
| -rw-r--r-- | lib/Target/CellSPU/SPUISelDAGToDAG.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/Target/CellSPU/SPUISelDAGToDAG.cpp b/lib/Target/CellSPU/SPUISelDAGToDAG.cpp index ca464a7..396a921 100644 --- a/lib/Target/CellSPU/SPUISelDAGToDAG.cpp +++ b/lib/Target/CellSPU/SPUISelDAGToDAG.cpp @@ -399,10 +399,6 @@ namespace { return false; } - /// InstructionSelect - This callback is invoked by - /// SelectionDAGISel when it has created a SelectionDAG for us to codegen. - virtual void InstructionSelect(); - virtual const char *getPassName() const { return "Cell SPU DAG->DAG Pattern Instruction Selection"; } @@ -420,16 +416,6 @@ namespace { }; } -/// InstructionSelect - This callback is invoked by -/// SelectionDAGISel when it has created a SelectionDAG for us to codegen. -void -SPUDAGToDAGISel::InstructionSelect() -{ - // Select target instructions for the DAG. - SelectRoot(*CurDAG); - CurDAG->RemoveDeadNodes(); -} - /*! \arg Op The ISD instruction operand \arg N The address to be tested |
