Remove silly dead store. Patch by Ettl Martin.

llvm-svn: 163882
This commit is contained in:
Duncan Sands 2012-09-14 09:00:11 +00:00
parent 0320f5eded
commit f1fad3ee2e

View File

@ -500,11 +500,10 @@ void MachineBlockPlacement::buildChain(
assert(BB);
assert(BlockToChain[BB] == &Chain);
assert(*llvm::prior(Chain.end()) == BB);
MachineBasicBlock *BestSucc = 0;
// Look for the best viable successor if there is one to place immediately
// after this block.
BestSucc = selectBestSuccessor(BB, Chain, BlockFilter);
MachineBasicBlock *BestSucc = selectBestSuccessor(BB, Chain, BlockFilter);
// If an immediate successor isn't available, look for the best viable
// block among those we've identified as not violating the loop's CFG at