[LLVMbugs] [Bug 167] NEW: llvm-g++ generates code that triggers llc assertion

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Tue Dec 9 14:42:06 PST 2003


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=167

           Summary: llvm-g++ generates code that triggers llc assertion
           Product: tools
           Version: trunk
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-g++
        AssignedTo: sabre at nondot.org
        ReportedBy: criswell at uiuc.edu


The attached code, when compiled with llvm-g++, will hit an assertion in llc
(llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp, to be exact):

llvm-g++ -S demangle.cc
llvm-as demangle.s
llc demangle.s.bc

Assertion failed: AddrValLR && "No LR for indirect addr val of call", file
/home/vadve/criswell/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp, line 208

This test case is important because it is reduced from demangle.cc from
libstdc++.  The Shootout-C++ LLC benchmarks fail because of it.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list