[LLVMbugs] [Bug 23306] New: patchpoint: ran out of registers during register allocation

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 21 15:31:19 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23306

            Bug ID: 23306
           Summary: patchpoint: ran out of registers during register
                    allocation
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Register Allocator
          Assignee: unassignedbugs at nondot.org
          Reporter: undingen at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 14235
  --> https://llvm.org/bugs/attachment.cgi?id=14235&action=edit
Example using a lot of GVs

When I create a patchpoint with many live values I get a "ran out of registers
during register allocation" error. I tested it with 3.6 and trunk.

Changing the regalloc does not help.

@c0 = external global i64
@c1 = external global i64
...
  %ret = call i64 (i64, i32, i8*, i32, ...)*
@llvm.experimental.patchpoint.i64(i64 0, i32 512, i8* inttoptr (i64 -1 to i8*),
i32 0, i64* @c0, i64* @c1, i64* @c2, i64* @c3, i64* @c4, i64* @c5, i64* @c6,
i64* @c7, i64* @c8, i64* @c9, i64* @c10, i64* @c11, i64* @c12, i64* @c13, i64*
@c14, i64* @c15)
  ret i64 %ret

llc output: LLVM ERROR: ran out of registers during register allocation

-- 
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/20150421/4bd15e7d/attachment.html>


More information about the llvm-bugs mailing list