Displaying 1 result from an estimated 1 matches for "1032498".
Did you mean:
103249
2013 Aug 25
0
[LLVMdev] removePredecessor() and update predecessor list
Hi all,
for(pred_iterator PI=pred_begin(BB); PI!=pred_end(BB); PI++)
{
BasicBlock *Pres = *PI;
pred.insert(Pres);
}
for(predit = pred.begin(); predit!=pred.end();predit++)
(BB)->removePredecessor(*predit);
Is this code enough to remove the predecessor for each basic block As I
read in documentation that this removePredecessor() doesn't update the
predecessor list.
So,