[LLVMdev] Segmentation fault on Instruction.moveBefore()

Sreeraj a writetosrj at gmail.com
Mon Nov 29 14:31:59 PST 2010


The Problem is solved.
It was already discussed , i didnt bother to check the list first.

Sorry to spam your inboxes.
thanks

On Tue, Nov 30, 2010 at 3:55 AM, Sreeraj a <writetosrj at gmail.com> wrote:

> Hi,
> I'm getting a segmentation fault trying to write a small(incomplete) LICM
> pass whenever i try to do
>
> I->moveBefore(pre->getTerminator());
> (wherer I is Instruction*, Pre is BasicBlock*)
>
> Is there any prerequisites for executing this function that i am not doing?
>
> Thanks in advance.
> sreeraj
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101130/6193c5ab/attachment.html>


More information about the llvm-dev mailing list