[LLVMdev] How to insert basic block in a loop

marwayusuf@feng.bu.edu.eg marwayusuf at feng.BU.edu.eg
Fri Jun 12 13:53:06 PDT 2015


Dear All

I'm making a transformation pass that inserts a new basic block at the start of a loop. However when I try to change predecessor/successor relations, it does not consider the new block in the loop at all. So I got that just inserting a loop in a function before another loop is not enough. So how exactly to do this job?


Regards,
Marwa Yusuf
Teaching Assistant - Computer Engineering Department
Faculty of Engineering - Benha University
E-JUST PhD Student
Computer Science & Engineering Dept.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150612/eface5ce/attachment.html>


More information about the llvm-dev mailing list