search for: getsuccessornumber

Displaying 1 result from an estimated 1 matches for "getsuccessornumber".

2010 May 04
2
[LLVMdev] Question about GVN
...minator())) { 1598 DEBUG(dbgs() << "COULD NOT PRE LOAD BECAUSE OF INDBR CRITICAL EDGE '" 1599 << Pred->getName() << "': " << *LI << '\n'); 1600 return false; 1601 } 1602 unsigned SuccNum = GetSuccessorNumber(Pred, LoadBB); 1603 toSplit.push_back(std::make_pair(Pred->getTerminator(), SuccNum)); 1604 NeedToSplitEdges = true; 1605 } 1606 } 1607 if (NeedToSplitEdges) 1608 return false; Because it iterates over predecessors it may happen that not the first one has IndirectBrInst...