summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-10-29 18:10:34 +0000
committerDan Gohman <gohman@apple.com>2009-10-29 18:10:34 +0000
commit453d64c9f5d128787ea6bc8ef7493bdd718e799c (patch)
tree6e1bdfd631d05061cc655800cf45b75b4ac78cf6 /llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
parentba91b89711c5dde1f52817792bed3efa5f54580b (diff)
downloadbcm5719-llvm-453d64c9f5d128787ea6bc8ef7493bdd718e799c.tar.gz
bcm5719-llvm-453d64c9f5d128787ea6bc8ef7493bdd718e799c.zip
Rename usesCustomDAGSchedInserter to usesCustomInserter, and update a
bunch of associated comments, because it doesn't have anything to do with DAGs or scheduling. This is another step in decoupling MachineInstr emitting from scheduling. llvm-svn: 85517
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp b/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
index 425f670763a..53bebbb44c1 100644
--- a/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
@@ -556,7 +556,7 @@ void InstrEmitter::EmitNode(SDNode *Node, bool IsClone, bool IsCloned,
MI->setMemRefs(cast<MachineSDNode>(Node)->memoperands_begin(),
cast<MachineSDNode>(Node)->memoperands_end());
- if (II.usesCustomDAGSchedInsertionHook()) {
+ if (II.usesCustomInsertionHook()) {
// Insert this instruction into the basic block using a target
// specific inserter which may returns a new basic block.
MBB = TLI->EmitInstrWithCustomInserter(MI, MBB, EM);
OpenPOWER on IntegriCloud