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

           Summary: Crash in scheduler on x86-64 with very wide addition
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Testcase:

define void @f(i256* nocapture %a, i256* nocapture %b, i256* nocapture %cc,
i256* nocapture %dd) nounwind uwtable noinline ssp {
entry:
  %c = load i256* %cc
  %d = load i256* %dd
  %add = add nsw i256 %c, %d
  store i256 %add, i256* %a, align 8
  %or = or i256 %c,
1606938044258990275541962092341162602522202993782792835301376
  %add6 = add nsw i256 %or, %d
  store i256 %add6, i256* %b, align 8
  ret void
}

(The very large constant is 1<<200.)

Crashes with:

Assertion failed: ((getKind() == Data || getKind() == Anti || getKind() ==
Output) && "getReg called on non-register dependence edge!"), function getReg,
file /Users/efriedma/llvm/include/llvm/CodeGen/ScheduleDAG.h, line 204.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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