[LLVMbugs] [Bug 13780] New: X86RegisterInfo::eliminateFrameIndex: -O0 assertion failure "`i < getNumOperands() && "getOperand() out of range!"'"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 6 09:08:44 PDT 2012


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

             Bug #: 13780
           Summary: X86RegisterInfo::eliminateFrameIndex: -O0 assertion
                    failure "`i < getNumOperands() && "getOperand() out of
                    range!"'"
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9169
  --> http://llvm.org/bugs/attachment.cgi?id=9169
testcase .ll

$ llc -O0 attrib41.ll
llc: include/llvm/CodeGen/MachineInstr.h:269: llvm::MachineOperand&
llvm::MachineInstr::getOperand(unsigned int): Assertion `i < getNumOperands()
&& "getOperand() out of range!"' failed.
...
llvm::X86RegisterInfo::eliminateFrameIndex(llvm::MachineBasicBlock::bundle_iterator<llvm::MachineInstr,
llvm::ilist_iterator<llvm::MachineInstr> >, int, llvm::RegScavenger*) const +
672
9  llc             0x0000000000be7cdf
llvm::PEI::replaceFrameIndices(llvm::MachineFunction&) + 847
10 llc             0x0000000000bebede
llvm::PEI::runOnMachineFunction(llvm::MachineFunction&) + 270
11 llc             0x0000000000e9063f
llvm::FPPassManager::runOnFunction(llvm::Function&) + 607
12 llc             0x0000000000e90693
llvm::FPPassManager::runOnModule(llvm::Module&) + 51
13 llc             0x0000000000e9036c
llvm::MPPassManager::runOnModule(llvm::Module&) + 524
14 llc             0x0000000000e939cf llvm::PassManagerImpl::run(llvm::Module&)
+ 127
15 llc             0x0000000000544ac3 main + 3427
16 libc.so.6       0x00007f6f4571a76d __libc_start_main + 237
17 llc             0x000000000055174d
Stack dump:
0.    Program arguments: llc -O0 attrib41.ll 
1.    Running pass 'Function Pass Manager' on module 'attrib41.ll'.
2.    Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on
function '@main'
Aborted (core dumped)

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