[LLVMdev] Segmentation fault on Instruction.moveBefore()
Sreeraj a
writetosrj at gmail.com
Mon Nov 29 14:25:07 PST 2010
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/c8c68b84/attachment.html>
More information about the llvm-dev
mailing list