From 8e7d87b22867cc5add0c2e9fda4fddb340128403 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21183 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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; }