<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="gmail_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<div>Varun</div></div></div></div></div></div>
</div></div></div></div>