<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:sanjoy@playingwithpointers.com" title="Sanjoy Das <sanjoy@playingwithpointers.com>"> <span class="fn">Sanjoy Das</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Not aggressively optimizing std::fill loop (SCEVUDivExpr needs 'exact' bit)"
   href="https://llvm.org/bugs/show_bug.cgi?id=8942">bug 8942</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 - Not aggressively optimizing std::fill loop (SCEVUDivExpr needs 'exact' bit)"
   href="https://llvm.org/bugs/show_bug.cgi?id=8942#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Not aggressively optimizing std::fill loop (SCEVUDivExpr needs 'exact' bit)"
   href="https://llvm.org/bugs/show_bug.cgi?id=8942">bug 8942</a>
              from <span class="vcard"><a class="email" href="mailto:sanjoy@playingwithpointers.com" title="Sanjoy Das <sanjoy@playingwithpointers.com>"> <span class="fn">Sanjoy Das</span></a>
</span></b>
        <pre>Looks like clang is able to optimize

void f1(int* begin, int* end) {
  std::fill(begin, end, 0);
}

to a call to memset now.</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>