[LLVMbugs] [Bug 3610] VAARG not implemented for soft floats.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Feb 21 11:12:13 PST 2009


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


Richard Pennington <rich at pennware.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Richard Pennington <rich at pennware.com>  2009-02-21 13:12:13 ---
(In reply to comment #0)
> Created an attachment (id=2576)
 --> (http://llvm.org/bugs/attachment.cgi?id=2576) [details]
> .ll file using vaarg
> 
> [~/ellcc/ellcc] main% llvm-as -f t0056.ll         
> [~/ellcc/ellcc] main% llc t0056.bc 
> SoftenFloatResult #0: 0x9f55c44: f32,ch = vaarg 0x9f55b3c, 0x9f5571c, 0x9f55bc0
> llc:
> /home/rich/llvm-trunk-new/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp:54:
> void llvm::DAGTypeLegalizer::SoftenFloatResult(llvm::SDNode*, unsigned int):
> Assertion `0 && "Do not know how to soften the result of this operator!"'
> failed.                                                                         
> 0   llc       0x08c970ae                                                        
> 1   llc       0x08c973f0                                                        
> 2             0x00110400 __kernel_sigreturn + 0                                 
> 3   libc.so.6 0x00bcce28 abort + 392                                            
> 4   libc.so.6 0x00bc440e __assert_fail + 238                                    
> 5   llc       0x089dd961
> 6   llc       0x089c64ea
> 7   llc       0x089c6f69 llvm::SelectionDAG::LegalizeTypes() + 45
> 8   llc       0x0895ea4a llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 1180
> 9   llc       0x089612d4
> llvm::SelectionDAGISel::SelectBasicBlock(llvm::BasicBlock*,
> llvm::ilist_iterator<llvm::Instruction>,
> llvm::ilist_iterator<llvm::Instruction>) + 598
> 10  llc       0x08961c87
> llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function&,
> llvm::MachineFunction&, llvm::MachineModuleInfo*, llvm::DwarfWriter*,
> llvm::TargetInstrInfo const&) + 2219
> 11  llc       0x08962963 llvm::SelectionDAGISel::runOnFunction(llvm::Function&)
> + 841
> 12  llc       0x08c259f5 llvm::FPPassManager::runOnFunction(llvm::Function&) +
> 249
> 13  llc       0x08c2646a llvm::FunctionPassManagerImpl::run(llvm::Function&) +
> 116
> 14  llc       0x08c265cb llvm::FunctionPassManager::run(llvm::Function&) + 137
> 15  llc       0x083d0d22 main + 2465
> 16  libc.so.6 0x00bb66e5 __libc_start_main + 229
> 17  llc       0x083cf441
> Abort
> [~/ellcc/ellcc] main%
> 

Fixed in revision 65239.


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