[LLVMbugs] [Bug 4601] New: assertion failure: Don' t have operand info for this instruction!

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jul 21 10:47:32 PDT 2009


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

           Summary: assertion failure: Don't have operand info for this
                    instruction!
           Product: libraries
           Version: trunk
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: ARM
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: bob.wilson at apple.com
                CC: llvmbugs at cs.uiuc.edu


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

ClamAV failed to build for ARM last night.  This is a bugpoint-reduced
testcase.  Compile it with:

llc -O3 -relocation-model=pic -mcpu=arm1136jf-s -f
bugpoint-reduced-simplified.bc

Assertion failed: ((DstRC || (TID.isVariadic() && IIOpNum >=
TID.getNumOperands())) && "Don't have operand info for this instruction!"),
function AddRegisterOperand, file
/Users/bwilson/local/llvm/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodesEmit.cpp,
line 259.
0   llc               0x00a6aa1b PrintStackTrace(void*) + 45
1   llc               0x00a6af8d SignalHandler(int) + 351
2   libSystem.B.dylib 0x96a7abfb _sigtramp + 43
3   libSystem.B.dylib 0xffffffff _sigtramp + 1767396399
4   libSystem.B.dylib 0x96b08ba1 raise + 26
5   libSystem.B.dylib 0x96b1ec58 abort + 93
6   libSystem.B.dylib 0x96b0b800 __pthread_markcancel + 0
7   llc               0x006be2c5
llvm::ScheduleDAGSDNodes::AddRegisterOperand(llvm::MachineInstr*,
llvm::SDValue, unsigned int, llvm::TargetInstrDesc const*,
llvm::DenseMap<llvm::SDValue, unsigned int, llvm::DenseMapInfo<llvm::SDValue>,
llvm::DenseMapInfo<unsigned int> >&) + 545
8   llc               0x006be462
llvm::ScheduleDAGSDNodes::AddOperand(llvm::MachineInstr*, llvm::SDValue,
unsigned int, llvm::TargetInstrDesc const*, llvm::DenseMap<llvm::SDValue,
unsigned int, llvm::DenseMapInfo<llvm::SDValue>, llvm::DenseMapInfo<unsigned
int> >&) + 86
9   llc               0x006c0089
llvm::ScheduleDAGSDNodes::EmitNode(llvm::SDNode*, bool, bool,
llvm::DenseMap<llvm::SDValue, unsigned int, llvm::DenseMapInfo<llvm::SDValue>,
llvm::DenseMapInfo<unsigned int> >&) + 793
10  llc               0x006c0aaf llvm::ScheduleDAGSDNodes::EmitSchedule() + 461
11  llc               0x0072aa3d llvm::SelectionDAGISel::CodeGenAndEmitDAG() +
4171
12  llc               0x0072c9e0
llvm::SelectionDAGISel::SelectBasicBlock(llvm::BasicBlock*,
llvm::ilist_iterator<llvm::Instruction>,
llvm::ilist_iterator<llvm::Instruction>) + 434
13  llc               0x0072d3a9
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function&,
llvm::MachineFunction&, llvm::MachineModuleInfo*, llvm::DwarfWriter*,
llvm::TargetInstrInfo const&) + 2255
14  llc               0x0072e163
llvm::SelectionDAGISel::runOnFunction(llvm::Function&) + 927
15  llc               0x009eb070
llvm::FPPassManager::runOnFunction(llvm::Function&) + 288
16  llc               0x009eb592
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 112
17  llc               0x009eb75e
llvm::FunctionPassManager::run(llvm::Function&) + 130
18  llc               0x0002dfb7 main + 3142
19  llc               0x0002cc61 start + 53
Stack dump:
0.      Program arguments: /Users/bwilson/local/llvm/install/bin/llc -O3
-relocation-model=pic -mcpu=arm1136jf-s -f bugpoint-reduced-simplified.bc -o
Output/clamscan.llc.s 
1.      Running pass 'ARM Instruction Selection' on function '@cli_ac_addsig'
Abort trap


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