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 | e0d32c490aa0b18a25add5037f1bb1dbaacb593e (patch) | |
tree | 16cf8cd060e3b1951601b55c5138004080685669 /llvm/lib | |
parent | 0fa412cc6dd9b612eefc2e56aded810425eb9f04 (diff) | |
download | bcm5719-llvm-e0d32c490aa0b18a25add5037f1bb1dbaacb593e.tar.gz bcm5719-llvm-e0d32c490aa0b18a25add5037f1bb1dbaacb593e.zip |
This code doesn't actually use the ExitingBlocks list.
llvm-svn: 64376
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Transforms/Scalar/LICM.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/LICM.cpp b/llvm/lib/Transforms/Scalar/LICM.cpp index b5d5bfda6f4..b2c895f4869 100644 --- a/llvm/lib/Transforms/Scalar/LICM.cpp +++ b/llvm/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) { |