<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:echristo@gmail.com" title="Eric Christopher <echristo@gmail.com>"> <span class="fn">Eric Christopher</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - clang -O4 drops other -mavx2 and possibly other flags"
   href="https://llvm.org/bugs/show_bug.cgi?id=18808">bug 18808</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - clang -O4 drops other -mavx2 and possibly other flags"
   href="https://llvm.org/bugs/show_bug.cgi?id=18808#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - clang -O4 drops other -mavx2 and possibly other flags"
   href="https://llvm.org/bugs/show_bug.cgi?id=18808">bug 18808</a>
              from <span class="vcard"><a class="email" href="mailto:echristo@gmail.com" title="Eric Christopher <echristo@gmail.com>"> <span class="fn">Eric Christopher</span></a>
</span></b>
        <pre>OK. Let's look at things this way:

1) Whether or not to allow changing of target-cpu/target-feature/triple at link
time code generation.

- Not convinced here of the facility to do so. Could just recompile the
individual bitcode files to get what you want, but there are some users that
are trying to ship bitcode (as crazy as that sounds).

2) How to pass other sorts of options to the backend for code generation

- -ffoo options -fno-foo options. I.e. -fno-inline, etc. I think this is really
pretty important from the user POV. It affects things at a more global level.

3) The llvm developer debugging story

- It's useful for llvm developers to be able to more accurately debug a set of
IR using bisection or being able to turn off code generation options. Should
this be done at the command level (i.e. infrastructure that clang and llc etc
could even share), or should it be done at an llvm IR rewriting level? Don't
know. I kind of want a rewriter, but I'm not wedded to any particular answer.

I'm going to go ahead and redirect this to the mailing list and close the bug
so that the rest of this discussion can go there. :)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>