[llvm-bugs] [Bug 26954] New: Assertion `BestRC && "Couldn't find the register class"' failed
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Mar 15 12:22:38 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=26954
Bug ID: 26954
Summary: Assertion `BestRC && "Couldn't find the register
class"' failed
Product: new-bugs
Version: 3.8
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: serge.guelton at telecom-bretagne.eu
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 16043
--> https://llvm.org/bugs/attachment.cgi?id=16043&action=edit
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160315/6d66df0f/attachment.html>
More information about the llvm-bugs
mailing list