[LLVMbugs] [Bug 19931] New: r600: Assertion failed: i < getNumRegs() && "Register number out of range!", file <llvm>/include/llvm/MC/MCRegisterInfo.h, line 65

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 3 02:44:35 PDT 2014


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

            Bug ID: 19931
           Summary: r600: Assertion failed: i < getNumRegs() && "Register
                    number out of range!", file
                    <llvm>/include/llvm/MC/MCRegisterInfo.h, line 65
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: troshkovdanil at mail.ru
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

test.ll:

{code}
%struct.type = type { i64, i64 }
define void @f(%struct.type* noalias nocapture sret %agg.result, i64 %a, i64
%b) #0 {
entry:
  %res.sroa.0.0.idx = getelementptr inbounds %struct.type* %agg.result, i32 0,
i32 0
  store i64 %a, i64* %res.sroa.0.0.idx, align 8
  %res.sroa.2.0.idx3 = getelementptr inbounds %struct.type* %agg.result, i32 0,
i32 1
  store i64 %b, i64* %res.sroa.2.0.idx3, align 8
  ret void
}
{code}

run:

{code}
<build>/Debug/bin/llc.EXE -march=r600 -mcpu=SI -verify-machineinstrs test.ll
{code}

-- 
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/20140603/5406c474/attachment.html>


More information about the llvm-bugs mailing list