[LLVMbugs] [Bug 168] NEW: Explicitly specifying SPARC backend fails assertion on Mac OS X

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Tue Dec 9 21:19:24 PST 2003


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

           Summary: Explicitly specifying SPARC backend fails assertion on
                    Mac OS X
           Product: tools
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llc
        AssignedTo: gaeke+bugs at uiuc.edu
        ReportedBy: gaeke+bugs at uiuc.edu


Compiling any old program with llc -march=sparc on my Mac results in an assertion failure.
(Using llc -march=x86 works.)

64 cube> echo 'int main () { return 0; }' > bah.c
65 cube> llvm-gcc -c bah.c
66 cube> llc -march=sparc -f bah.o -o bah.s
/Users/brg/llvm/include/llvm/PassAnalysisSupport.h:49: failed assertion `Pass::
getClassPassInfo<PassClass>() && "Pass class not registered!"'
Abort

Looking at the backtrace, the pass in question is AliasAnalysis, which is addRequired() by LICM.



------- 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