<p dir="ltr">Cool! Very helpful!</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Aug 8, 2016 4:08 PM, "Mehdi Amini" <<a href="mailto:mehdi.amini@apple.com">mehdi.amini@apple.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">(+cfe-dev for clang question)<br><div><blockquote type="cite"><div>On Aug 8, 2016, at 3:57 PM, Xiaochu Liu via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:</div><br><div><p dir="ltr">Hi there,</p><p dir="ltr">I was wondering if there is a way to set llc flags in clang?<br></p></div></blockquote><div>In general no, in practice most development flags (accessible from opt/llc) are available using -mllvm -flag=value</div><br><blockquote type="cite"><div><p dir="ltr">
 Like<br>
llc -mattr=+abc <br>
How to set this subtarget in clang?</p></div></blockquote><div><br></div><div>Target attributes are accessible using the cc1 flag "-target-feature”, the equivalent to llc -mattr=“+abc” should be:</div><div><br></div><div>clang  -Xclang -target-feature -Xclang +abc </div><div><br></div></div>— <div>Mehdi</div><div><br></div></div></blockquote></div></div>