[LLVMdev] Passing llc options to Clang

Ziqiang Patrick Huang ziqiang.huang1001 at gmail.com
Mon Oct 13 13:17:22 PDT 2014

Thanks, Daniil

I've tried that, still not working.

2014-10-13 16:11 GMT-04:00 Daniil Troshkov <troshkovdanil at gmail.com>:

> maybe try to use -mllvm for each arg
> ./clang -mllvm -march=X86-64 -mllvm -mcpu=core2 -o hello hello.c

*Ziqiang Huang*
*Electrical and Computer Engineering*
*Hudson 213c, Duke University*
*Tel: 919-491-3677*
*Email: ziqiang.huang at duke.edu <ziqiang.huang at duke.edu>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141013/6d49caf4/attachment.html>

More information about the llvm-dev mailing list