Hi,<div>I'm getting a segmentation fault trying to write a small(incomplete) LICM pass whenever i try to do</div><div><br></div><div>I->moveBefore(pre->getTerminator());</div><div>(wherer I is Instruction*, Pre is BasicBlock*)</div>
<div><br></div><div>Is there any prerequisites for executing this function that i am not doing?</div><div><br></div><div>Thanks in advance.</div><div>sreeraj</div><div><br></div><div><br></div>