http://llvm.org/bugs/show_bug.cgi?id=21700

            Bug ID: 21700
           Summary: UNREACHABLE executed at RegAllocFast.cpp:362
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 13412
  --> http://llvm.org/bugs/attachment.cgi?id=13412&action=edit
faulty bytecode

The bytecode in attachment raises the following assert when compiled with
clang-3.5


Instruction uses an allocated register
UNREACHABLE executed at
/home/sguelton/sources/llvm-3.5/lib/CodeGen/RegAllocFast.cpp:362!

Turning all i32 into i64 fixes the issue, but according to the doc, GEP should
work for i32 indices.

compiling the code with llc does *not* trigger the bug...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to