<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 - llc version 4.0 and later takes up to 45 times as long to compile shader code for Mesa"
   href="https://bugs.llvm.org/show_bug.cgi?id=34647">34647</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llc version 4.0 and later takes up to 45 times as long to compile shader code for Mesa
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>4.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </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>bcrocker@redhat.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=19167" name="attach_19167" title="Vertex shader bytecode">attachment 19167</a> <a href="attachment.cgi?id=19167&action=edit" title="Vertex shader bytecode">[details]</a></span>
Vertex shader bytecode

The Piglit (OpenGL test suite) ext_transform_feedback-max-varyings test
utilizes somewhat unusual shader programs (both vertex and fragment shaders).

The llc compiler prior to 4.0 compiled these programs in
not-unacceptable times of 0.078 seconds for a representative
vertex shader and 2.6-4.5 seconds for a representative fragment shader.

The V4.0 and later llc takes a MUCH longer time to compile the same
code: 1.66 seconds for the vertex shader (a factor of 20 times slower!)
and 1 minute 55 seconds for the fragment shader (a factor of 25-45 times
slower!).

I will attach sample vertex shader code (ir_draw_llvm_vs_variant0.bc)
and fragment shader code (ir_fs914_variant0.bc).

The target architecture is PPC64LE.</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>