<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 --- - An LLVM commit broke our Cuda reduction code (wrong answer)"
   href="https://llvm.org/bugs/show_bug.cgi?id=31240">31240</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>An LLVM commit broke our Cuda reduction code (wrong answer)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </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>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>CUDA
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>crtrott@sandia.gov
          </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>In our Kokkos unit tests (github.com/kokkos/kokkos) we had at some point
everything working for compilation of the Cuda backend with clang. 
With the current head our reduction tests fail again. 
I tracked it down to this commit:

Codegen: Tail-duplicate during placement.
git-svn-id: <a href="https://llvm.org/svn/llvm-project/llvm/trunk@283934">https://llvm.org/svn/llvm-project/llvm/trunk@283934</a>
91177308-0d34-0410-b5e6-96231b3b80d8

I.e. this works:
Clang: 204eb555222d86837d865007c1526018e391bf67
LLVM: 6f185f662a9dc692c12417784c9756bc3212cde8

And this Fails:
Clang: 204eb555222d86837d865007c1526018e391bf67
LLVM: 2a18018c101b6b4f40049a2ab951cda505074970

(I am using github.com/llvm-mirror)

I don't have a trivial reproducer right now.</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>