[LLVMbugs] [Bug 10220] New: Crash in scheduler on x86-64 with very wide addition

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 28 16:50:38 PDT 2011


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: unassignedbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list