Hi all,<div>Can any one help me in reading annotations in llvm?</div><div>wat i need is the following?</div><div><br></div><div>for(i=0;i<n;i++){</div><div><br></div><div>}</div><div>the value of n will be at dynamic but user know the max value of n it can take.</div>
<div><br></div><div>so uesr will provide info like</div><div>/*@max n 100*/</div><div><div>for(i=0;i<n;i++){</div><div><br></div><div>}</div><div>which means max value of n is 100.</div><div><br></div><div>now gcc will ignore it bt llvm should process it.</div>
<div>is there any way to do it?</div><div><br></div><div><br></div><div>or else wat user can do is to write this info in a separate file with line no of the loop and max size.</div><div>and how the llvm pass can detect the line of an instruction and match it with source file line no ?</div>
-- <br><br>Regards,<br>Shanmukha Rao<br><br>
</div>