diff options
author | Dan Gohman <gohman@apple.com> | 2009-02-12 16:36:26 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-02-12 16:36:26 +0000 |
commit | d0ffa73924adb07dacfd560f7943a2433689497f (patch) | |
tree | 18a8c96d3215f66a5bab4caa57f9fb4d6244158b | |
parent | 8679119f4b686d141462bf6d18f4ae0eb0bd0841 (diff) |
This code doesn't actually use the ExitingBlocks list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64376 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Scalar/LICM.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Transforms/Scalar/LICM.cpp b/lib/Transforms/Scalar/LICM.cpp index b5d5bfda6f..b2c895f486 100644 --- a/lib/Transforms/Scalar/LICM.cpp +++ b/lib/Transforms/Scalar/LICM.cpp @@ -785,9 +785,6 @@ void LICM::FindPromotableValuesInLoop( std::map<Value*, AllocaInst*> &ValueToAllocaMap) { Instruction *FnStart = CurLoop->getHeader()->getParent()->begin()->begin(); - SmallVector<BasicBlock*, 4> ExitingBlocks; - CurLoop->getExitingBlocks(ExitingBlocks); - // Loop over all of the alias sets in the tracker object. for (AliasSetTracker::iterator I = CurAST->begin(), E = CurAST->end(); I != E; ++I) { |