<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 - [amdgpu][regression][bisected] function calls on Raven break sub int loads from private or local memory"
   href="https://bugs.llvm.org/show_bug.cgi?id=40936">40936</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[amdgpu][regression][bisected] function calls on Raven break sub int loads from private or local memory
          </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>Linux
          </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>jv356@scarletmail.rutgers.edu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=21549" name="attach_21549" title="bad.asm">attachment 21549</a> <a href="attachment.cgi?id=21549&action=edit" title="bad.asm">[details]</a></span>
bad.asm

Bisected to:
df3568d8a9367a51c0368d47392f1bbb1b667603 is the first bad commit
commit df3568d8a9367a51c0368d47392f1bbb1b667603
Author: Matt Arsenault <<a href="mailto:Matthew.Arsenault@amd.com">Matthew.Arsenault@amd.com</a>>
Date:   Thu Feb 28 00:40:32 2019 +0000

    AMDGPU: Enable function calls by default

    Fixes some crashes on illegal call situations which are unfortunately
    still valid IR.

    git-svn-id: <a href="https://llvm.org/svn/llvm-project/llvm/trunk@355051">https://llvm.org/svn/llvm-project/llvm/trunk@355051</a>
91177308-0d34-0410-b5e6-96231b3b80d8

The above commit regresses the following piglit tests:
vload-half-private.cl
vload-half-local.cl
vload-short-private.cl
vload-short-local.cl
vload-ushort-private.cl[0]
vload-ushort-local.cl

Note that the regression happens only on Raven (at least carrizo/iceland is
OK),
and only vec2 tests are affected.
I've verified to switching the options off on
954735141519398580615e0907a85ed0972b50cb
Fixes the issue.

[0]
<a href="https://jvesely.github.io/piglit/raven-latest-5/raven_19_02_28/program@execute@vload@vload-ushort-private.html">https://jvesely.github.io/piglit/raven-latest-5/raven_19_02_28/program@execute@vload@vload-ushort-private.html</a>

GCN assembly code of both the good and the bad case is attached</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>