For you,the best way I think to start is to run llc to translate an ir file,which can be generated by clang with an existing C source,to a cppbackend output.Then you can know how instructions are built.<br><br>蜡笔小新 <<a href="mailto:841224078@qq.com">841224078@qq.com</a>>于2014年4月8日星期二写道:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi, everyone.</div><div><br></div><div>I am so happy to join the LLVM email list to share some ideas and discuss technical problems. As listed in the topic, I was trying to insert a NOP instruction in a program by modifying the compiler. </div>
<div><br></div><div>I read through the documentation about the backend of LLVM. However, it is too general to implement this. Can someone give me some advice on this?</div></blockquote>