[LLVMdev] Passing llc options to Clang

Daniil Troshkov troshkovdanil at gmail.com
Mon Oct 13 13:39:11 PDT 2014


I've looked at test/CodeGen/X86
; RUN: llc < %s -march=x86-64 -mcpu=core2 ...

they use x86-64 (with small letter)

On Tue, Oct 14, 2014 at 12:17 AM, Ziqiang Patrick Huang <
ziqiang.huang1001 at gmail.com> wrote:

> 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/20141014/7fa28cf8/attachment.html>


More information about the llvm-dev mailing list