[LLVMdev] On restricting predecessors of basic blocks

John Criswell jtcriswel at gmail.com
Tue Sep 23 06:55:16 PDT 2014


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>


More information about the llvm-dev mailing list