<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 --- - multiple piglit builtin-char* and others test regressed"
   href="https://llvm.org/bugs/show_bug.cgi?id=30411">30411</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>multiple piglit builtin-char* and others test regressed
          </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>Linux
          </td>
        </tr>

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

        <tr>
          <th>Keywords</th>
          <td>regression
          </td>
        </tr>

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

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

        <tr>
          <th>Component</th>
          <td>Backend: AMDGPU
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>pavel.ondracka@email.cz
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>jan.vesely@rutgers.edu, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Multiple piglit builtin-char* and builtin-uchar* tests regressed, in total
around 170 tests.
The char1 variant of the tests passes, the rest is failing. 

This also affects some of the the builtin-short* and builtin-ushort* tests (at
least the few ones that are not affected by <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - multiple piglit builtin-short* and builtin-ushort tests fails"
   href="show_bug.cgi?id=28915">bug 28915</a>).

commit 79944cc240c9f5f073fdc8025a94117f6cd83f9b
Author: Jan Vesely <<a href="mailto:jan.vesely@rutgers.edu">jan.vesely@rutgers.edu</a>>
Date:   Mon Aug 29 22:05:06 2016 +0000

    AMDGPU/R600: Remove MergeVectorStores from legalization

    This is handled by DAGCombiner in a more generic way

    Differential Revision: <a href="https://reviews.llvm.org/D23970">https://reviews.llvm.org/D23970</a>

I also did check that revert fixes the problems.

My system:
GPU: 06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Caicos XTX [Radeon HD 8490 / R5 235X OEM]
llvm: 88a23b601602f7f3a0ddc861af8be0eb29878d9a
mesa: e1ea36ae719619e69dadaf7efa7c7a40f891be91
libclc: b091e26cb1945750fb4eb004dd6a9e9917ce810a

Example failing test:

builtin-char-abs-1.0.generated:
## Test: Test char abs built-in on CL 1.1
(/home/ondracka/graphics/piglit/tests/cl/program/program-tester.c) ##

# Platform supporting only version 1.1. Running test on that version.
# Running on:
#   Platform: Clover
#   Device: AMD CAICOS (DRM 2.43.0 / 4.6.4-301.fc24.x86_64, LLVM 4.0.0)
#   OpenCL version: 1.2
#   OpenCL C version: 1.1
#   Build options:  -cl-std=CL1.1
Program has been built successfully
<span class="quote">> Running kernel test: abs char1</span >
Using kernel test_1_abs_char
Setting kernel arguments...
Running the kernel...
Validating results...
 Argument 0: PASS
<span class="quote">> Running kernel test: abs char2</span >
Using kernel test_2_abs_char
Setting kernel arguments...
Running the kernel...
Validating results...
Expecting 2 (0x2) with tolerance 0, but got 0 (0x0)
Error at uchar[2]
 Argument 0: FAIL
<span class="quote">> Running kernel test: abs char4</span >
Using kernel test_4_abs_char
Setting kernel arguments...
Running the kernel...
Validating results...
Expecting 2 (0x2) with tolerance 0, but got 0 (0x0)
Error at uchar[4]
 Argument 0: FAIL
<span class="quote">> Running kernel test: abs char8</span >
Using kernel test_8_abs_char
Setting kernel arguments...
Running the kernel...
Validating results...
Expecting 2 (0x2) with tolerance 0, but got 9 (0x9)
Error at uchar[8]
 Argument 0: FAIL
<span class="quote">> Running kernel test: abs char16</span >
Using kernel test_16_abs_char
Setting kernel arguments...
Running the kernel...
Validating results...
Expecting 0 (0x0) with tolerance 0, but got 127 (0x7f)
Error at uchar[4]
 Argument 0: FAIL
<span class="quote">>> Some or all of the tests FAILED</span >
# Result:</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>