[LLVMdev] How to change successor of a regular Basic block
ambika
ambika at cse.iitb.ac.in
Sat May 1 12:48:25 PDT 2010
Hi,
I am working with regular dominator tree and not MachineDominatorTree.
I wanted to modify the CFG structure and for that I need to change
successor of a basic block.
How can I do that?
Or is there a way to cast a BasicBlock to MachineBasicBlock so that i
can use functions addSucessor and removeSuccessor for the basic block.
It will be great if someone can help.
regards,
Ambika
More information about the llvm-dev
mailing list