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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to