mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 07:24:25 +00:00
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
This commit is contained in:
@ -785,9 +785,6 @@ void LICM::FindPromotableValuesInLoop(
|
|||||||
std::map<Value*, AllocaInst*> &ValueToAllocaMap) {
|
std::map<Value*, AllocaInst*> &ValueToAllocaMap) {
|
||||||
Instruction *FnStart = CurLoop->getHeader()->getParent()->begin()->begin();
|
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.
|
// Loop over all of the alias sets in the tracker object.
|
||||||
for (AliasSetTracker::iterator I = CurAST->begin(), E = CurAST->end();
|
for (AliasSetTracker::iterator I = CurAST->begin(), E = CurAST->end();
|
||||||
I != E; ++I) {
|
I != E; ++I) {
|
||||||
|
Reference in New Issue
Block a user