<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 - piglit builtin-float-cos-1.0 crashes with llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:916: llvm::SelectionDAG::~SelectionDAG(): Assertion `!UpdateListeners && "Dangling registered DAGUpdateListeners"' failed."
   href="https://bugs.llvm.org/show_bug.cgi?id=35983">35983</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>piglit builtin-float-cos-1.0 crashes with llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:916: llvm::SelectionDAG::~SelectionDAG(): Assertion `!UpdateListeners && "Dangling registered DAGUpdateListeners"' failed.
          </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>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>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, Matthew.Arsenault@amd.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=19693" name="attach_19693" title="compressed full backtrace">attachment 19693</a> <a href="attachment.cgi?id=19693&action=edit" title="compressed full backtrace">[details]</a></span>
compressed full backtrace

Three piglit tests:
builtin-float-cos-1.0.generated
builtin-float-sin-1.0.generated
builtin-float-tan-1.0.generated
crash with llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:917:
llvm::SelectionDAG::~SelectionDAG(): Assertion `!UpdateListeners && "Dangling
registered DAGUpdateListeners"' failed.

This is a regressing. I have run a regression tests, however due to unrelated
build failure I ended with quite lot of skips. By manually reverting the
related looking ones on top of first bad building revision (a83daa1) I found
that two commits must be reverted to get the test working again. The first one
is the likely culprit, while the second one is probably only a build fix. 

commit f68b9beeb97bd44cc651d519c45e8ad32067825d
Author: Jan Vesely <<a href="mailto:jan.vesely@rutgers.edu">jan.vesely@rutgers.edu</a>>
Date:   Mon Dec 4 23:07:28 2017 +0000

    AMDGPU/EG: Add a new FeatureFMA and use it to selectively enable FMA
instruction

    Only used by pre-GCN targets
    v2: fix predicate setting for FMA_Common

commit a7574026a1ac25d5955e8e29c4b5ec59ac0f6576
Author: Matt Arsenault <<a href="mailto:Matthew.Arsenault@amd.com">Matthew.Arsenault@amd.com</a>>
Date:   Tue Dec 5 03:15:44 2017 +0000

    AMDGPU: Fix missing subtarget feature initializer

The testing was done with latest mesa, libclc and CAICOS GPU.

<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Einstein@home FGRPB1G OpenCL app crashes with ::SelectionDAG::~SelectionDAG(): Assertion `!UpdateListeners && "Dangling registered DAGUpdateListeners"' failed."
   href="show_bug.cgi?id=35910">Bug 35910</a> may be related. It has the same symptoms, however as the app
mentioned there was not working even before the aforementioned commits, it is
unclear if this is the same root cause.</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>