[LLVMdev] Copy instruction from one function to another

Abhinash Jain omnia at mailinator.com
Fri Oct 18 11:11:50 PDT 2013


How can I copy an instruction from one function to another.
Already seen cloneFunction.cpp and clone.h but still am not been able to
implement this thing.
facing an errors like "Instruction does not dominate all uses!", "Broken
module found, compilation aborted!" etc.
Can anyone help me on this implementation?




--
View this message in context: http://llvm.1065342.n5.nabble.com/Copy-instruction-from-one-function-to-another-tp62224.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.



More information about the llvm-dev mailing list