[LLVMdev] Copy Instruction from one Basic block to another

Devang Patel
Mon, 15 Nov 2010 18:34:09 -0000

On Nov 14, 2010, at 12:13 PM, Soumya Prasad Ukil wrote:

> I have created a new basic block. Now I want to make copy of instructions
from one basic block to another . How to do that ?

See  CloneBasicBlock @ Transforms/Utils/Cloning.h
-
Devang