<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 --- - PeepholeOptimizer emits a fatal error" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24303&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=jAq6jMtYUupZdQo56aUMZuNqLoG0qlU2YFnywctRpeo&s=mAERTf-RA139N9KL-o0JZ473GrxlEjnVCgNdUlK_lT8&e=">24303</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>PeepholeOptimizer emits a fatal error
</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>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Common Code Generator Code
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>wujingyue@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=14665" name="attach_14665" title="failing test">attachment 14665</a> <a href="attachment.cgi?id=14665&action=edit" title="failing test">[details]</a></span>
failing test
r243486 (<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D11197&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=jAq6jMtYUupZdQo56aUMZuNqLoG0qlU2YFnywctRpeo&s=9H8GUC7O7H5x5cXGWU2g3fa6g5D4FgYBt6Rtes-MkYI&e=">http://reviews.llvm.org/D11197</a>) broke an internal test of ours. I
reduced it to complex2.ll attached.
jingyue llvm-git% llc ~/Work/cuda/complex2.ll -o - -march=nvptx64 -mcpu=sm_35
//
// Generated by LLVM NVPTX Back-End
//
.version 3.2
.target sm_35
.address_size 64
LLVM ERROR: Attempted to created cross-class register copy</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>