From 77ab286605f0393583a57d8671c6538e38943ef6 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 9 Apr 2005 16:24:20 +0000 Subject: [PATCH] there is no need to remove this instruction, linscan does it already as it removes noop moves. llvm-svn: 21183 --- lib/CodeGen/LiveIntervalAnalysis.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 580895dd864..c0d1b2a89f5 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; }