[cfe-dev] [llvm-dev] Clang command line to invoke LLVM flags
Xiaochu Liu via cfe-dev
cfe-dev at lists.llvm.org
Mon Aug 8 16:15:53 PDT 2016
Cool! Very helpful!
On Aug 8, 2016 4:08 PM, "Mehdi Amini" <mehdi.amini at apple.com> wrote:
> (+cfe-dev for clang question)
> On Aug 8, 2016, at 3:57 PM, Xiaochu Liu via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
> Hi there,
> I was wondering if there is a way to set llc flags in clang?
> In general no, in practice most development flags (accessible from
> opt/llc) are available using -mllvm -flag=value
> llc -mattr=+abc
> How to set this subtarget in clang?
> Target attributes are accessible using the cc1 flag "-target-feature”, the
> equivalent to llc -mattr=“+abc” should be:
> clang -Xclang -target-feature -Xclang +abc
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev