<div dir="ltr">llvm-mc will help me for target specific things. <div>My question is at IR level and .ll to .bc translation.</div><div><br></div><div>To rephrase, how do I verify if llvm-as translates an input LLVM IR correctly to .bc representation?</div><div>I'd like to see exact bytes generated by llvm-as.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 19, 2016 at 2:05 PM, Nemanja Ivanovic <span dir="ltr"><<a href="mailto:nemanja.i.ibm@gmail.com" target="_blank">nemanja.i.ibm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Perhaps you can run llvm-mc on the instruction in question and provide it the --show-encoding option.<br></div>Or conversely, you can specify the encoding you desire and run llvm-mc with --disassemble on it.<br><br></div>N<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Aug 19, 2016 at 7:52 AM, Madhur Amilkanthwar via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hi,</div>For my input file I think that llvm-as is encoding an instruction incorrectly.<div>Is there any way to dump the numerical representation of input textual LLVM IR on terminal?</div><div>"-f" option to llvm-as did not help.<span><font color="#888888"><br><div><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><i style="font-size:12.8px">Disclaimer: Views, concerns, thoughts, questions, ideas expressed in this mail are of my own and my employer has no take in it. </i><br></div><div>Thank You.<br>Madhur D. Amilkanthwar<br><br></div></div></div>
</div></font></span></div></div>
<br></div></div>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><i style="font-size:12.8px">Disclaimer: Views, concerns, thoughts, questions, ideas expressed in this mail are of my own and my employer has no take in it. </i><br></div><div>Thank You.<br>Madhur D. Amilkanthwar<br><br></div></div></div>
</div>