<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - LLVM error on fragment shader"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79504">79504</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LLVM error on fragment shader
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kyle@klkblake.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/radeonsi
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=100230" name="attach_100230" title="fragment shader">attachment 100230</a> <a href="attachment.cgi?id=100230&action=edit" title="fragment shader">[details]</a></span>
fragment shader

After compiling the attached shader and making it current, calling glClear()
causes the process to crash with this error:

    LLVM ERROR: Cannot select: 0x314a010: v16f32 = bitcast 0x3185250 [ORD=347]
[ID=224]
      0x3185250: v16i32 = BUILD_VECTOR 0x3153680, 0x3153780, 0x3153880,
0x3153980, 0x3187b70, 0x3187970, 0x3097a00, 0x3097800, 0x3097600, 0x3097400,
0x3097200, 0x3097000, 0x3096e00, 0x3096c00, 0x3185550, 0x314b520 [ORD=347]
[ID=222]
        ... <snip> ...

(full error attached)

I'm using the latest git version (3fc72f2ec601cb758d69cf2933dd6268d1a80c5b).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>