<div dir="ltr">please help me guys<br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><br></div><div><br></div>Thanks and Regards<div>Varun</div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Nov 23, 2016 at 5:26 PM, Varun Patil <span dir="ltr"><<a href="mailto:varun.patil40@gmail.com" target="_blank">varun.patil40@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>Hi Developers,<br><br></div>I have written C program and want to generate IR file for Specific Target I have tried with following command but got a error as follows,<br></div>COMMAND: <br><div><b>clang -S -emit-llvm -march=leg ~/llc-test-examples/ex9.c -o ~/llc-test-examples/ex9.ll</b><br>ERROR:<br><b>error: unknown target CPU 'leg'<br></b><br clear="all"><div><div><div><div class="m_4606150248809552761gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>So any please help me what all other step should I do previously to get my <b>leg</b> target in clang. So that i can use -march=leg option in this command.  <br></div><div><br></div>Thanks and Regards<span class="HOEnZb"><font color="#888888"><div>Varun</div></font></span></div></div></div></div></div>
</div></div></div></div>
</blockquote></div><br></div>