[llvm-dev] Generation of IR for MyTarget
Varun Patil via llvm-dev
llvm-dev at lists.llvm.org
Wed Nov 23 03:56:34 PST 2016
Hi Developers,
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,
COMMAND:
*clang -S -emit-llvm -march=leg ~/llc-test-examples/ex9.c -o
~/llc-test-examples/ex9.ll*
ERROR:
*error: unknown target CPU 'leg'*
So any please help me what all other step should I do previously to get my
*leg* target in clang. So that i can use -march=leg option in this
command.
Thanks and Regards
Varun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161123/abd0bac6/attachment.html>
More information about the llvm-dev
mailing list