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/ARM/ARMISelDAGToDAG.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/ARM/ARMISelDAGToDAG.cpp')
| -rw-r--r-- | lib/Target/ARM/ARMISelDAGToDAG.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Target/ARM/ARMISelDAGToDAG.cpp b/lib/Target/ARM/ARMISelDAGToDAG.cpp index df4ae70..013e00a 100644 --- a/lib/Target/ARM/ARMISelDAGToDAG.cpp +++ b/lib/Target/ARM/ARMISelDAGToDAG.cpp @@ -58,8 +58,6 @@ public: return "ARM Instruction Selection"; } - virtual void InstructionSelect(); - /// getI32Imm - Return a target constant of type i32 with the specified /// value. inline SDValue getI32Imm(unsigned Imm) { @@ -203,11 +201,6 @@ static bool isOpcWithIntImmediate(SDNode *N, unsigned Opc, unsigned& Imm) { } -void ARMDAGToDAGISel::InstructionSelect() { - SelectRoot(*CurDAG); - CurDAG->RemoveDeadNodes(); -} - bool ARMDAGToDAGISel::SelectShifterOperandReg(SDNode *Op, SDValue N, SDValue &BaseReg, |
