<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 5/2/16 1:32 PM, Rail Shafigulin via
      llvm-dev wrote:<br>
    </div>
    <blockquote
cite="mid:CAOLNbFbda82TMRME4Etz_e+Bcsw_wuC+T8sj7_ryWiqcCx9HFg@mail.gmail.com"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
      <div dir="ltr">Is there a way to enable/disable target features
        through clang?
        <div><br>
        </div>
        <div>I found this, <a moz-do-not-send="true"
            href="https://github.com/avr-llvm/llvm/issues/9">https://github.com/avr-llvm/llvm/issues/9</a>,
          but this seems to be talking about llc
          -mattr=+feature1,-feature2...</div>
        <div><br>
        </div>
        <div>Is there something equivalent for clang?<br>
        </div>
      </div>
    </blockquote>
    <br>
    Have you tried using clang --help-hidden to print all of its
    options?  There might be a -mllvm -<something> option that
    will do what you want.<br>
    <br>
    Regards,<br>
    <br>
    John Criswell<br>
    <br>
    <blockquote
cite="mid:CAOLNbFbda82TMRME4Etz_e+Bcsw_wuC+T8sj7_ryWiqcCx9HFg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div><br>
          </div>
          -- <br>
          <div class="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div>Rail Shafigulin<br>
                  </div>
                  Software Engineer <br>
                  Esencia Technologies<br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
John Criswell
Assistant Professor
Department of Computer Science, University of Rochester
<a class="moz-txt-link-freetext" href="http://www.cs.rochester.edu/u/criswell">http://www.cs.rochester.edu/u/criswell</a></pre>
  </body>
</html>