aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/CellSPU
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-01-30 18:18:23 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-01-30 18:18:23 +0000
commite637db117eb826a539e230590ee6a5db585f1ffb (patch)
treeae8fe861683f8423725796ccf4646c4a9c920ea4 /lib/Target/CellSPU
parente328608a5fabdea092c7687927615e17216f4c73 (diff)
downloadexternal_llvm-e637db117eb826a539e230590ee6a5db585f1ffb.zip
external_llvm-e637db117eb826a539e230590ee6a5db585f1ffb.tar.gz
external_llvm-e637db117eb826a539e230590ee6a5db585f1ffb.tar.bz2
Even though InsertAtEndOfBasicBlock is an ugly hack it still deserves a proper name. Rename it to EmitInstrWithCustomInserter since it does not necessarily insert
instruction at the end. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46562 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU')
-rw-r--r--lib/Target/CellSPU/SPUISelLowering.cpp11
-rw-r--r--lib/Target/CellSPU/SPUISelLowering.h3
2 files changed, 0 insertions, 14 deletions
diff --git a/lib/Target/CellSPU/SPUISelLowering.cpp b/lib/Target/CellSPU/SPUISelLowering.cpp
index 407b8e6..7dd9b60 100644
--- a/lib/Target/CellSPU/SPUISelLowering.cpp
+++ b/lib/Target/CellSPU/SPUISelLowering.cpp
@@ -2535,17 +2535,6 @@ SPUTargetLowering::LowerOperation(SDOperand Op, SelectionDAG &DAG)
}
//===----------------------------------------------------------------------===//
-// Other Lowering Code
-//===----------------------------------------------------------------------===//
-
-MachineBasicBlock *
-SPUTargetLowering::InsertAtEndOfBasicBlock(MachineInstr *MI,
- MachineBasicBlock *BB)
-{
- return BB;
-}
-
-//===----------------------------------------------------------------------===//
// Target Optimization Hooks
//===----------------------------------------------------------------------===//
diff --git a/lib/Target/CellSPU/SPUISelLowering.h b/lib/Target/CellSPU/SPUISelLowering.h
index 3ac768a..d09848e 100644
--- a/lib/Target/CellSPU/SPUISelLowering.h
+++ b/lib/Target/CellSPU/SPUISelLowering.h
@@ -114,9 +114,6 @@ namespace llvm {
const SelectionDAG &DAG,
unsigned Depth = 0) const;
- virtual MachineBasicBlock *InsertAtEndOfBasicBlock(MachineInstr *MI,
- MachineBasicBlock *MBB);
-
ConstraintType getConstraintType(const std::string &ConstraintLetter) const;
std::pair<unsigned, const TargetRegisterClass*>