Hi, I plan to implement an algorithm which requires BasicBlocks to have at most two predecessors. simplifycfg pass is not a choice since it doesn't do what I want, going by its description. Could someone point me to an existing pass which does this job? Thanks, -- Rekha -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140923/7133c972/attachment.html>
Dear Rekha, I don't think LLVM has a pass that does this. If you need such a pass, I think you will need to write it yourself. Regards, John Criswell On 9/23/14, 12:33 AM, Rekha R wrote:> Hi, > > I plan to implement an algorithm which requires BasicBlocks to have > at most two predecessors. simplifycfg pass is not a choice since it > doesn't do what I want, going by its description. > > Could someone point me to an existing pass which does this job? > > Thanks, > -- > Rekha > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140923/9968f226/attachment.html>
Ok. Thanks for the confirmation. Rekha On Tue, Sep 23, 2014 at 7:25 PM, John Criswell <jtcriswel at gmail.com> wrote:> Dear Rekha, > > I don't think LLVM has a pass that does this. If you need such a pass, I > think you will need to write it yourself. > > Regards, > > John Criswell > > > On 9/23/14, 12:33 AM, Rekha R wrote: > > Hi, > > I plan to implement an algorithm which requires BasicBlocks to have at > most two predecessors. simplifycfg pass is not a choice since it doesn't do > what I want, going by its description. > > Could someone point me to an existing pass which does this job? > > Thanks, > -- > Rekha > > > _______________________________________________ > LLVM Developers mailing listLLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.eduhttp://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > >-- Rekha -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140923/02a80276/attachment.html>