[LLVMdev] Regarding BasicBlock Cloning

tarun agrawal tarun at cse.iitb.ac.in
Sat Apr 16 16:32:28 PDT 2011


I am writing a pass for constant propagation using graph restructuring (
code duplication). I am facing following difficulties..

1) I need to replicate the basic block but without phi function in the
replicated block. How can I do this.

2) I need to insert that basic block after and before some particular basic

Tarun Agrawal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110417/47207a26/attachment.html>

More information about the llvm-dev mailing list