mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-12 18:33:22 +00:00
Remove silly dead store. Patch by Ettl Martin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163882 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f4d78241ea
commit
74b4762234
@ -500,11 +500,10 @@ void MachineBlockPlacement::buildChain(
|
|||||||
assert(BB);
|
assert(BB);
|
||||||
assert(BlockToChain[BB] == &Chain);
|
assert(BlockToChain[BB] == &Chain);
|
||||||
assert(*llvm::prior(Chain.end()) == BB);
|
assert(*llvm::prior(Chain.end()) == BB);
|
||||||
MachineBasicBlock *BestSucc = 0;
|
|
||||||
|
|
||||||
// Look for the best viable successor if there is one to place immediately
|
// Look for the best viable successor if there is one to place immediately
|
||||||
// after this block.
|
// 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
|
// 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
|
// block among those we've identified as not violating the loop's CFG at
|
||||||
|
Loading…
x
Reference in New Issue
Block a user