summaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-04-09 16:24:20 +0000
committerChris Lattner <sabre@nondot.org>2005-04-09 16:24:20 +0000
commit8e7d87b22867cc5add0c2e9fda4fddb340128403 (patch)
tree3f68a91fe86f98f1a1371f6828ac0684475b0af8 /lib/CodeGen
parent799a919dbc03d8451434a1f3afc6fe571212d19c (diff)
downloadllvm-8e7d87b22867cc5add0c2e9fda4fddb340128403.tar.gz
llvm-8e7d87b22867cc5add0c2e9fda4fddb340128403.tar.bz2
llvm-8e7d87b22867cc5add0c2e9fda4fddb340128403.tar.xz
there is no need to remove this instruction, linscan does it already as it
removes noop moves. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21183 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 580895dd86..c0d1b2a89f 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -199,11 +199,6 @@ bool LiveIntervals::runOnMachineFunction(MachineFunction &fn) {
}
}
- // If we inserted a placeholder instruction at the entry of the block, remove
- // it now.
- if (fn.livein_begin() != fn.livein_end())
- fn.begin()->erase(fn.begin()->begin());
-
DEBUG(dump());
return true;
}