From ef817ccec44fd960d80cd6129aec1a1622cbe9f7 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 12 Apr 2010 08:00:22 +0000 Subject: [PATCH] Delete this code, which is no longer needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101033 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/LoopStrengthReduce.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 7882a9aefa2..19f78f424ce 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -2907,10 +2907,6 @@ LSRInstance::AdjustInsertPositionForExpand(BasicBlock::iterator IP, BB = DT.findNearestCommonDominator(BB, ExitingBlocks[i]); Inputs.push_back(BB->getTerminator()); } - - // Be dominated by the loop latch, if it's unique. - if (BasicBlock *Latch = PIL->getLoopLatch()) - Inputs.push_back(prior(BasicBlock::iterator(Latch->getTerminator()))); } // Then, climb up the immediate dominator tree as far as we can go while -- 2.34.1