mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
LoopUnroll looks like it has some stale code. Remove it to prove my sanity and avoid further confusion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137106 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2f613c5fff
commit
70d0ca999c
@ -217,12 +217,7 @@ bool llvm::UnrollLoop(Loop *L, unsigned Count, unsigned TripCount,
|
||||
ValueToValueMapTy LastValueMap;
|
||||
std::vector<PHINode*> OrigPHINode;
|
||||
for (BasicBlock::iterator I = Header->begin(); isa<PHINode>(I); ++I) {
|
||||
PHINode *PN = cast<PHINode>(I);
|
||||
OrigPHINode.push_back(PN);
|
||||
if (Instruction *I =
|
||||
dyn_cast<Instruction>(PN->getIncomingValueForBlock(LatchBlock)))
|
||||
if (L->contains(I))
|
||||
LastValueMap[I] = I;
|
||||
OrigPHINode.push_back(cast<PHINode>(I));
|
||||
}
|
||||
|
||||
std::vector<BasicBlock*> Headers;
|
||||
|
Loading…
x
Reference in New Issue
Block a user