[LLVMbugs] [Bug 3959] New: [Mips] Return of a double constant causes an assert.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Apr 7 06:08:35 PDT 2009


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

           Summary: [Mips] Return of a double constant causes an assert.
           Product: new-bugs
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rich at pennware.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2802)
 --> (http://llvm.org/bugs/attachment.cgi?id=2802)
Test case.

The attached test case causes an assert with the Mips code generator:

[~/ellcc/ellcc] main% llvm-as -f t0065.ll
[~/ellcc/ellcc] main% llc -f -march mips t0065.bc
Cannot yet select: 0xa564fc8: f64,ch = load 0xa564c3c, 0xa5651d8, 0xa564f44
<0xa579da8:0> <anyext f32> alignment=4
0   llc       0x08d5616d
1   llc       0x08d5669f
2             0x00c27400 __kernel_sigreturn + 0
3   libc.so.6 0x0033ee28 abort + 392
4   llc       0x0859d1eb
5   llc       0x085a0228
6   llc       0x085a30ff
7   llc       0x085a46c4
8   llc       0x085a4a75
9   llc       0x085a4be3
10  llc       0x089b7101 llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 2905
11  llc       0x089b941a
llvm::SelectionDAGISel::SelectBasicBlock(llvm::BasicBlock*,
llvm::ilist_iterator<llvm::Instruction>,
llvm::ilist_iterator<llvm::Instruction>) + 612
12  llc       0x089b9e29
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function&,
llvm::MachineFunction&, llvm::MachineModuleInfo*, llvm::DwarfWriter*,
llvm::TargetInstrInfo const&) + 2295
13  llc       0x089babdb llvm::SelectionDAGISel::runOnFunction(llvm::Function&)
+ 885
14  llc       0x08cd6ae2 llvm::FPPassManager::runOnFunction(llvm::Function&) +
288
15  llc       0x08cd75d0 llvm::FunctionPassManagerImpl::run(llvm::Function&) +
124
16  llc       0x08cd77a1 llvm::FunctionPassManager::run(llvm::Function&) + 159
17  llc       0x083d1662 main + 2687
18  libc.so.6 0x003286e5 __libc_start_main + 229
19  llc       0x083cfb21
Stack dump:
0.      Program arguments: llc -f -march mips t0065.bc
1.      Running pass 'MIPS DAG->DAG Pattern Instruction Selection' on function
'@foo'
Abort
[~/ellcc/ellcc] main%


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