<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:trass3r@gmail.com" title="Trass3r <trass3r@gmail.com>"> <span class="fn">Trass3r</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Loop Vectorizer does not handle masked gather"
   href="https://bugs.llvm.org/show_bug.cgi?id=35879">bug 35879</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>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>INVALID
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Loop Vectorizer does not handle masked gather"
   href="https://bugs.llvm.org/show_bug.cgi?id=35879#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Loop Vectorizer does not handle masked gather"
   href="https://bugs.llvm.org/show_bug.cgi?id=35879">bug 35879</a>
              from <span class="vcard"><a class="email" href="mailto:trass3r@gmail.com" title="Trass3r <trass3r@gmail.com>"> <span class="fn">Trass3r</span></a>
</span></b>
        <pre>Not exactly. Let's forget about the int return type:
<a href="https://godbolt.org/g/dm8nvd">https://godbolt.org/g/dm8nvd</a>

 control flow cannot be substituted for a select
 value that could not be identified as reduction is used outside the loop
 cannot identify array bounds

I disabled loop unroll to actually see some vectorizer analysis results.
Is it intentional that the unroller "overrides" the loop vectorizer?
Does the SLP vectorizer kick in after that? I couldn't find any analysis option
for it.</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>