[LLVMdev] help

vikash kumar kumarvikash.iitb at gmail.com
Fri Apr 15 11:44:23 PDT 2011


Hi,

We are trying to do build a pass with constant propagation and graph
restructuring.

We are not able to find a suitable function for basic block cloning. We have
found CloneBasicBlock function but it includes the phi of the original block
in the replicated block. We don't want phi of original block in the
replicated basic block.

Also we need to change the successor and predecessor of the replicated basic
block. We are also not able to do that.


Regards
Vikash Kumar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110416/cc8e0a7d/attachment.html>


More information about the llvm-dev mailing list