[llvm-commits] [llvm] r64376 - /llvm/trunk/lib/Transforms/Scalar/LICM.cpp
Dan Gohman
gohman at apple.com
Thu Feb 12 08:36:27 PST 2009
Author: djg
Date: Thu Feb 12 10:36:26 2009
New Revision: 64376
URL: http://llvm.org/viewvc/llvm-project?rev=64376&view=rev
Log:
This code doesn't actually use the ExitingBlocks list.
Modified:
llvm/trunk/lib/Transforms/Scalar/LICM.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LICM.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LICM.cpp?rev=64376&r1=64375&r2=64376&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LICM.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LICM.cpp Thu Feb 12 10:36:26 2009
@@ -785,9 +785,6 @@
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) {
More information about the llvm-commits
mailing list