summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-07-08 01:00:56 +0000
committerDan Gohman <gohman@apple.com>2010-07-08 01:00:56 +0000
commite75704369db335e523287ca851eccf3a77b1557a (patch)
tree04067e9d8743c5487ee84fecd3657998a4d1b0b7 /llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
parent6533f24370619009f93a93b74d90866df1da0883 (diff)
downloadbcm5719-llvm-e75704369db335e523287ca851eccf3a77b1557a.tar.gz
bcm5719-llvm-e75704369db335e523287ca851eccf3a77b1557a.zip
Revert 107840 107839 107813 107804 107800 107797 107791.
Debug info intrinsics win for now. llvm-svn: 107850
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp b/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
index 5f93e2fcb2e..f36620c3edf 100644
--- a/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
@@ -732,11 +732,8 @@ EmitMachineNode(SDNode *Node, bool IsClone, bool IsCloned,
if (II.usesCustomInsertionHook()) {
// Insert this instruction into the basic block using a target
// specific inserter which may returns a new basic block.
- MachineBasicBlock *NewMBB = TLI->EmitInstrWithCustomInserter(MI, MBB);
- if (NewMBB != MBB) {
- MBB = NewMBB;
- InsertPos = NewMBB->end();
- }
+ MBB = TLI->EmitInstrWithCustomInserter(MI, MBB);
+ InsertPos = MBB->end();
return;
}
OpenPOWER on IntegriCloud