diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-10-29 17:40:05 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-10-29 17:40:05 +0000 |
commit | 25ed920b0e9d80cedbce74229d41e79eda127686 (patch) | |
tree | 91dab501d4bd50d4c741d02c77ec864bca33b40a /llvm/lib/CodeGen/SplitKit.cpp | |
parent | dff6a6e4f17b2fcf94660b8697c15defb3178126 (diff) | |
download | llvm-25ed920b0e9d80cedbce74229d41e79eda127686.zip llvm-25ed920b0e9d80cedbce74229d41e79eda127686.tar.gz llvm-25ed920b0e9d80cedbce74229d41e79eda127686.tar.bz2 |
Silence Release build warnings.
llvm-svn: 117671
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SplitKit.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SplitKit.cpp b/llvm/lib/CodeGen/SplitKit.cpp index b5012f3..84d3003 100644 --- a/llvm/lib/CodeGen/SplitKit.cpp +++ b/llvm/lib/CodeGen/SplitKit.cpp @@ -429,10 +429,9 @@ VNInfo *LiveIntervalMap::mapValue(const VNInfo *ParentVNI, SlotIndex Idx, liveOutCache_.insert(std::make_pair(Pred, LiveOutPair())); // Yes, we have been here before. if (!LOIP.second) { - if (VNInfo *VNI = LOIP.first->second.first) { - DEBUG(dbgs() << " known valno #" << VNI->id + DEBUG(if (VNInfo *VNI = LOIP.first->second.first) + dbgs() << " known valno #" << VNI->id << " at BB#" << Pred->getNumber() << '\n'); - } continue; } @@ -445,7 +444,7 @@ VNInfo *LiveIntervalMap::mapValue(const VNInfo *ParentVNI, SlotIndex Idx, << " at BB#" << Pred->getNumber() << '\n'); LiveOutPair &LOP = LOIP.first->second; LOP.first = VNI; - LOP.second = mdt_[lis_.getMBBFromIndex(VNI->def)]; + LOP.second = mdt_[DefMBB]; continue; } // No, we need a live-in value for Pred as well |