<div dir="ltr"><div><div>Hi Developer,<br><br></div>I have wrote simple program called test.c as follows.<br><b>int a, b;<br>int main() {<br>a=10;<br>b=10;<br>return a+b;<br>}</b><br></div><br>Compiled with clang command to produce test.ll file which is attached below,<br><b>$clang -cc1 test.c -emit-llvm</b><br clear="all"><div><div><div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><br> Now If I want to run with my own target for selection with <b>llc</b> with command as follow getting error,<br><b>COMMAND:<br>$ ./llc -view-dag-combine1-dags -march=toy -relocation-model=pic -filetype=asm ~/test.ll <br>ERROR:<br>./llc: /home/varun/test.ll:14:18: error: expected comma after load's type<br>  %2 = load i32* @a, align 4<br>                 ^<br></b></div><div>Please Help me with It.<br></div><div><br></div>Thanks and Regards<div>Varun</div></div></div></div></div></div>
</div></div></div></div>