<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Infinite loop in compiler after 9020e22a876e15afd7b5d13ac3abf180b5cf9343"
   href="https://bugs.llvm.org/show_bug.cgi?id=52397">52397</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Infinite loop in compiler after 9020e22a876e15afd7b5d13ac3abf180b5cf9343
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>douglas_yung@playstation.sony.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>We have an internal testcase that after
9020e22a876e15afd7b5d13ac3abf180b5cf9343 seems to be in an infinite loop in the
compiler when it is compiled using optimizations. Prior to this change,
compiling would take less than a second. After this commit, it seems stuck and
I killed the compiler after running for 5 minutes without it completing.

/* reduced.cpp */
typedef int sint;
typedef sint __attribute__((ext_vector_type(4))) sint4;
typedef sint __attribute__((ext_vector_type(6))) sint16;
sint16 test1_id413;
void test1() {
  sint16 id412(~test1_id413);
  sint16 id411(id412 >> 31);
  sint4 id410(id411.xyxz);
  volatile sint4 id409(id410);
}

To repro, use a compiler that includes 9020e22a876e15afd7b5d13ac3abf180b5cf9343
and compile with optimizations enabled (-O2).</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>