<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - [mc] image_gather4/load/get/sample* -- issues with modifiers, with vgpr_a size etc."
   href="https://llvm.org/bugs/show_bug.cgi?id=28244">28244</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[mc] image_gather4/load/get/sample* -- issues with modifiers, with vgpr_a size etc.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>Windows NT
          </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>Backend: AMDGPU
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>artem.tamazov@amd.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>artem.tamazov@amd.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, nikolay.haustov@amd.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=16620" name="attach_16620" title="00123.tests_tg_gfx7_asm_lit1_bug.06.08.min.image_gather_etc-modifiers.zip - TESTS SHALL BE VERIFIED">attachment 16620</a> <a href="attachment.cgi?id=16620&action=edit" title="00123.tests_tg_gfx7_asm_lit1_bug.06.08.min.image_gather_etc-modifiers.zip - TESTS SHALL BE VERIFIED">[details]</a></span>
00123.tests_tg_gfx7_asm_lit1_bug.06.08.min.image_gather_etc-modifiers.zip -
TESTS SHALL BE VERIFIED

Preliminary information on failures (to be verified).

The following ones have problems with some combinations of modifiers:
<span class="quote">> image_gather4*
> image_load
> image_load_mip
> image_get_lod
> image_get_resinfo
> image_sample
> image_sample_b
> image_sample_b_cl
> image_sample_c
> image_sample_c_b
> image_sample_c_b_cl
> image_sample_c_cd
> image_sample_c_cl
> image_sample_c_d
> image_sample_c_l
> image_sample_c_lz
> image_sample_cl
> image_sample_l
> image_sample_lz</span >

In the following ones, vgpr_a should have 11 elements while assembler expects
4:
<span class="quote">> image_sample_d_cl_o
> image_sample_d_o
> image_sample_cd_cl_o
> image_sample_cd_o
> image_sample_c_d_cl_o
> image_sample_c_d_o
> image_sample_c_cd_cl_o
> image_sample_c_cd_o</span >

Here, vgpr_a should have 10 elements while assembler expects 4:
<span class="quote">> image_sample_d
> image_sample_cd
> image_sample_d_cl
> image_sample_cd_cl
> image_sample_c_d_cl
> image_sample_c_cd_cl</span >

Similarly, vgpr_a should have 5 elements while assembler expects 4:
<span class="quote">> image_sample_b_cl_o
> image_sample_b_o
> image_sample_c_b_cl_o
> image_sample_c_b_o
> image_sample_c_cl_o
> image_sample_c_l_o
> image_sample_c_lz_o
> image_sample_c_o
> image_sample_cl_o
> image_sample_l_o
> image_sample_lz_o
> image_sample_o</span >

The issue needs to be carefully verified/investigated.

Some GFX7 lit tests attached (both failing and passing ones). These tests are
not guaranteed to be valid, though.

Tested with r273139 (git # 4a94acfea8bfd6eb6b5809dd40f03e1fa42e673a)</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>