[LLVMbugs] [Bug 1545] NEW: Assertion failed during codegeneration of the easy FP code

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Jul 9 00:58:58 PDT 2007


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

           Summary: Assertion failed during codegeneration of the easy FP
                    code
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: asl at math.spbu.ru


Consider the attahced testcase (reduced from Mozilla).

Running ./llc -mcpu=athlon -relocation-model=pic bugpoint-reduced-simplified.bc
results:

llc: /home/asl/proj/llvm/src/lib/Target/X86/X86FloatingPoint.cpp:768: void
<unnamed>::FPS::handleTwoArgFP(llvm::ilist_iterator<llvm::MachineInstr>&):
Assertion `UpdatedSlot < StackTop && Dest < 7' failed.
./llc((anonymous namespace)::PrintStackTrace()+0x1a)[0x88e48fe]
./llc((anonymous namespace)::SignalHandler(int)+0x102)[0x88e4ba6]
[0xb7fa1420]
/lib/libc.so.6(abort+0xec)[0xb7d4ec0c]
/lib/libc.so.6(__assert_fail+0xeb)[0xb7d4695b]
./llc((anonymous
namespace)::FPS::handleTwoArgFP(llvm::ilist_iterator<llvm::MachineInstr>&)+0x5bb)[0x8540613]
./llc((anonymous namespace)::FPS::processBasicBlock(llvm::MachineFunction&,
llvm::MachineBasicBlock&)+0x275)[0x853f3ef]
./llc((anonymous
namespace)::FPS::runOnMachineFunction(llvm::MachineFunction&)+0x130)[0x853f130]
./llc(llvm::MachineFunctionPass::runOnFunction(llvm::Function&)+0x29)[0x8445ff9]
./llc(llvm::FPPassManager::runOnFunction(llvm::Function&)+0x158)[0x8883bcc]
./llc(llvm::FunctionPassManagerImpl::run(llvm::Function&)+0x86)[0x8883970]
./llc(llvm::FunctionPassManager::run(llvm::Function&)+0x88)[0x8883880]

I never seen this assertion before (on the same code and on the same build
flags), so I think it's definitely a regression.



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