LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 428 - [sparcv9] regalloc assertion failure with certain indirect calls
Summary: [sparcv9] regalloc assertion failure with certain indirect calls
Status: RESOLVED FIXED
Alias: None
Product: libraries
Classification: Unclassified
Component: Backend: Sparc (show other bugs)
Version: trunk
Hardware: Sun Solaris
: P normal
Assignee: Brian R. Gaeke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-24 01:41 PDT by Brian R. Gaeke
Modified: 2010-02-22 12:42 PST (History)
1 user (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian R. Gaeke 2004-08-24 01:41:16 PDT
On certain indirect LLVM 'call' Instructions, you can get an assertion
failure from the V9 back-end's graph-coloring register allocator.
Essentially, the interference graph builder needs to handle the case where
the indirect function pointer has already been assigned a register.
I don't think this is a very common case, but bugpoint managed to trigger
it for me at least once. The test case is
"test/Regression/CodeGen/SparcV9/2004-08-22-CallNull.llx".