[llvm-dev] Getting segmentation Fault while inserting cloned instrution in the original instruction before the original instrctuion
Priyanka Bamne via llvm-dev
llvm-dev at lists.llvm.org
Fri Oct 16 02:25:01 PDT 2015
BB->getInstList().insert(&(*i),&(*j) );
here j is iterator of cloned instruction and i is iterator of original
instruction.Since i am doing it on per basic block branch inclusion may not
be problem.
Thanx
PRiyanka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151016/517040e6/attachment.html>
More information about the llvm-dev
mailing list