git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117671
91177308-0d34-0410-b5e6-
96231b3b80d8
liveOutCache_.insert(std::make_pair(Pred, LiveOutPair()));
// Yes, we have been here before.
if (!LOIP.second) {
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');
<< " at BB#" << Pred->getNumber() << '\n');
<< " at BB#" << Pred->getNumber() << '\n');
LiveOutPair &LOP = LOIP.first->second;
LOP.first = VNI;
<< " 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
continue;
}
// No, we need a live-in value for Pred as well