[LLVMdev] Passing llc options to Clang

Ziqiang Patrick Huang ziqiang.huang1001 at gmail.com
Mon Oct 13 12:48:37 PDT 2014


Is there a way to passing llc options to clang, for example -march -mcpu,
etc. ?

Some threads suggested using -mllvm flag,

I tried ./clang -mllvm -march=X86-64 -mcpu=core2 -o hello hello.c, but got
"Unknown command line argument"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141013/7982544a/attachment.html>

More information about the llvm-dev mailing list