<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 --- - Assertion `BestRC && "Couldn't find the register class"' failed"
href="https://llvm.org/bugs/show_bug.cgi?id=26954">26954</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion `BestRC && "Couldn't find the register class"' failed
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>3.8
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>serge.guelton@telecom-bretagne.eu
</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=16043" name="attach_16043" title="Failing .ll">attachment 16043</a> <a href="attachment.cgi?id=16043&action=edit" title="Failing .ll">[details]</a></span>
Failing .ll
When compiling the code (reduced with bugpoint) in attachment with llc, I get a
Assertion `BestRC && "Couldn't find the register class"' failed
assert.
The bug shows with 3.7 and 3.8 versions.
It disapears if I target a 64 bit architecture and not a 32 bit architecture,
or if I change all the references to i64 to i32 in the code.
Walking the backtrace also tells me llvm is looking for a physical register of
128bits, but why? The target info in the .ll come from a clang hosted on a 64
bit machine and using the -m32 flag.</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>