[LLVMbugs] [Bug 4185] New: x87 inline asm assertion

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun May 10 10:59:34 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4185

           Summary: x87 inline asm assertion
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nicholas at mxc.ca
                CC: rafael.espindola at gmail.com, llvmbugs at cs.uiuc.edu


Created an attachment (id=2980)
 --> (http://llvm.org/bugs/attachment.cgi?id=2980)
testcase

I thought I'd already filed this once before but couldn't find it while
searching, not even through closed bugs. On x86-32 without SSE, this testcase
crashes:

$ llvm-as < c.ll | llc -mattr=-sse
llc: X86FloatingPoint.cpp:995:
void<unnamed>::FPS::handleSpecialFP(llvm::ilist_iterator<llvm::MachineInstr>&):
Assertion `(StackTop == 1 || StackTop == 2) && "Stack should have one or two
element on it to return!"' failed.
0   llc 0x089a99e2
1   llc 0x089a9f89
2       0xffffe400 __kernel_sigreturn + 0
Stack dump:
0.      Program arguments: llc -mattr=-sse 
1.      Running pass 'X86 FP Stackifier' on function '@test'
Aborted

It'd be awfully nice if that worked.


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