<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 --- - 7 piglit OpenCL tests regressed on AMD CAICOS GPU"
   href="https://llvm.org/bugs/show_bug.cgi?id=26141">26141</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>7 piglit OpenCL tests regressed on AMD CAICOS GPU
          </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>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>new bugs
          </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>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=15630" name="attach_15630" title="backtrace">attachment 15630</a> <a href="attachment.cgi?id=15630&action=edit" title="backtrace">[details]</a></span>
backtrace

Specifically, the piglit opencl tests:
builtin-int-mad_sat-1.0.generated
builtin-long-clamp-1.1.generated
builtin-long-max-1.1.generated
builtin-long-min-1.1.generated
builtin-ulong-clamp-1.1.generated
builtin-ulong-max-1.1.generated
builtin-ulong-min-1.1.generated

pass with the llvm 3.7.1 branch and fail with latest master when run on the AMD
CAICOS GPU with mesa clover opencl.

example output from
generated_tests/cl/builtin/int/builtin-int-mad_sat-1.0.generated.cl:

## Test: Test int mad_sat 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, LLVM 3.9.0)
#   OpenCL version: 1.2
#   OpenCL C version: 1.1
#   Build options:  -cl-std=CL1.1
ExpandIntegerResult #0: t42: i64 = smax t36, Constant:i64<-2147483648>

Do not know how to expand the result of this operator!
UNREACHABLE executed at
/home/ondracka/graphics/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp:1296!
Neúspěšně ukončen (SIGABRT)

Full backtrace attached.

No regression test yet, since llvm is big and the build takes ages, however I
can do it if needed and if I can get some pointers how to speed up the
bisection or the build...

System:
GPU: 06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Caicos XTX [Radeon HD 8490 / R5 235X OEM]
llvm: 92d091bf6f3da5f67e59b94a053125d3f38b5efb
libclc: b858eb3811ca8b49a66653473ef309eadcd491af
mesa: f4ab7340ca72f6b61fe6e3e0995360546d2d6287</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>