[LLVMdev] Changing basic blocks

Tanya M. Lattner tonic at nondot.org
Thu Aug 9 09:02:02 PDT 2007


> But also did not work. It seams the same instruction may not be duplicated
> in the base block.

That is correct. You must remove it before moving it.

> But, is there a better way to do it?

I don't believe so. 2 lines of code are not that much though.

-Tanya



More information about the llvm-dev mailing list