diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-10-06 22:04:59 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-10-06 22:04:59 +0000 |
commit | 0bbf5418c6550a38822678ae103eb69c08d2344d (patch) | |
tree | ed02b6ffa5e300ff6c9d49f213cf18ac84345caf | |
parent | b2c59e9faa536d417d841f0ce1114d33b42bdf38 (diff) | |
download | bcm5719-llvm-0bbf5418c6550a38822678ae103eb69c08d2344d.tar.gz bcm5719-llvm-0bbf5418c6550a38822678ae103eb69c08d2344d.zip |
Sink comment, NFC
llvm-svn: 219149
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopUnroll.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopUnroll.cpp b/llvm/lib/Transforms/Utils/LoopUnroll.cpp index 4326dc11616..fd46a4b8e54 100644 --- a/llvm/lib/Transforms/Utils/LoopUnroll.cpp +++ b/llvm/lib/Transforms/Utils/LoopUnroll.cpp @@ -308,9 +308,9 @@ bool llvm::UnrollLoop(Loop *L, unsigned Count, unsigned TripCount, BasicBlock *New = CloneBasicBlock(*BB, VMap, "." + Twine(It)); Header->getParent()->getBasicBlockList().push_back(New); - // Loop over all of the PHI nodes in the block, changing them to use the - // incoming values from the previous block. if (*BB == Header) + // Loop over all of the PHI nodes in the block, changing them to use + // the incoming values from the previous block. for (unsigned i = 0, e = OrigPHINode.size(); i != e; ++i) { PHINode *NewPHI = cast<PHINode>(VMap[OrigPHINode[i]]); Value *InVal = NewPHI->getIncomingValueForBlock(LatchBlock); |