<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:chenmindong120@gmail.com" title="Mindong Chen <chenmindong120@gmail.com>"> <span class="fn">Mindong Chen</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [LoopVectorize] Assertion `isa<PHINode>(UI) && "Expected LCSSA form"' failed."
   href="https://bugs.llvm.org/show_bug.cgi?id=47390">bug 47390</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;">Resolution</td>
           <td>WORKSFORME
           </td>
           <td>---
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [LoopVectorize] Assertion `isa<PHINode>(UI) && "Expected LCSSA form"' failed."
   href="https://bugs.llvm.org/show_bug.cgi?id=47390#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [LoopVectorize] Assertion `isa<PHINode>(UI) && "Expected LCSSA form"' failed."
   href="https://bugs.llvm.org/show_bug.cgi?id=47390">bug 47390</a>
              from <span class="vcard"><a class="email" href="mailto:chenmindong120@gmail.com" title="Mindong Chen <chenmindong120@gmail.com>"> <span class="fn">Mindong Chen</span></a>
</span></b>
        <pre>(In reply to Florian Hahn from <a href="show_bug.cgi?id=47390#c1">comment #1</a>)
<span class="quote">> I cannot reproduce the issue with a clang build from recent trunk.

> When built with `clang -O3`, the loop gets removed entirely. I also cannot
> reproduce with Clang 10/Clang 10.1 <a href="https://godbolt.org/z/r89vo9">https://godbolt.org/z/r89vo9</a>

> Please re-open with more details on how to reproduce the crash.</span >

Sorry I forgot to post the command here, please compile with -Os:

$ clang -Os reproducer.c</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>