[LLVMbugs] [Bug 3453] New: assert on and i288

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Jan 31 13:11:27 PST 2009


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

           Summary: assert on and i288
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nicholas at mxc.ca
                CC: llvmbugs at cs.uiuc.edu


The attached testcase is reduced from clamav on i686 Linux.

llc: /home/nicholas/llvm-commit/include/llvm/CodeGen/ValueTypes.h:450: uint64_t
llvm::MVT::getIntegerVTBitMask() const: Assertion `EltVT.getSizeInBits() <= 64
&& "getIntegerVTBitMask doesn't use APInt!"' failed.
[New Thread 0xf7cce6c0 (LWP 22303)]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xf7cce6c0 (LWP 22303)]
0xffffe425 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe425 in __kernel_vsyscall ()
#1  0xf7cfb640 in raise () from /lib/i686/cmov/libc.so.6
#2  0xf7cfd018 in abort () from /lib/i686/cmov/libc.so.6
#3  0xf7cf45be in __assert_fail () from /lib/i686/cmov/libc.so.6
#4  0x08940fcd in llvm::MVT::getIntegerVTBitMask (this=0xff9ce160)
    at /home/nicholas/llvm-commit/include/llvm/CodeGen/ValueTypes.h:450
#5  0x08974e5e in llvm::SelectionDAG::getNode (this=0x8f63608, Opcode=85, DL=
      {Idx = 0}, VT={{V = 6, SimpleTy = llvm::MVT::i128, LLVMTy = 0x6}}, N1=
      {Node = 0x8f7b05c, ResNo = 0}, N2={Node = 0x8f7b7cc, ResNo = 0})
    at SelectionDAG.cpp:2775
#6  0x08a452d1 in llvm::DAGTypeLegalizer::ExpandIntRes_Logical (
    this=0xff9ce350, N=0x8f7e1c4, Lo=@0xff9ce208, Hi=@0xff9ce200)
    at LegalizeIntegerTypes.cpp:1558
#7  0x08a528aa in llvm::DAGTypeLegalizer::ExpandIntegerResult (
    this=0xff9ce350, N=0x8f7e1c4, ResNo=0) at LegalizeIntegerTypes.cpp:996
#8  0x08a2cbfb in llvm::DAGTypeLegalizer::run (this=0xff9ce350)
    at LegalizeTypes.cpp:232
#9  0x08a2d719 in llvm::SelectionDAG::LegalizeTypes (this=0x8f63608)
    at LegalizeTypes.cpp:1055
#10 0x089c3077 in llvm::SelectionDAGISel::CodeGenAndEmitDAG (this=0x8f62ed0)
    at SelectionDAGISel.cpp:595
#11 0x089c5940 in llvm::SelectionDAGISel::SelectBasicBlock (this=0x8f62ed0, 
    LLVMBB=0x8f53ed8, Begin=
      {<bidirectional_iterator<llvm::Instruction, int>> =
{<std::iterator<std::bidirectional_iterator_tag, llvm::Instruction, int,
llvm::Instruction*, llvm::Instruction&>> = {<No data fields>}, <No data
fields>}, NodePtr = 0x8f55cd8}, End=
      {<bidirectional_iterator<llvm::Instruction, int>> =
{<std::iterator<std::bidirectional_iterator_tag, llvm::Instruction, int,
llvm::Instruction*, llvm::Instruction&>> = {<No data fields>}, <No data
fields>}, NodePtr = 0x8f55d68})
    at SelectionDAGISel.cpp:498
#12 0x089c6320 in llvm::SelectionDAGISel::SelectAllBasicBlocks (
    this=0x8f62ed0, Fn=@0x8f55108, MF=@0x8f73460, MMI=0x8f6e010, DW=0x8f67238, 
    TII=@0x8f56bc8) at SelectionDAGISel.cpp:854
#13 0x089c70ac in llvm::SelectionDAGISel::runOnFunction (this=0x8f62ed0, 
    Fn=@0x8f55108) at SelectionDAGISel.cpp:327
#14 0x08cbb659 in llvm::FPPassManager::runOnFunction (this=0x8f53ae0, 
    F=@0x8f55108) at PassManager.cpp:1323
#15 0x08cbc15c in llvm::FunctionPassManagerImpl::run (this=0x8f534c0, 
    F=@0x8f55108) at PassManager.cpp:1281
#16 0x08cbc2eb in llvm::FunctionPassManager::run (this=0xff9ce958, 
    F=@0x8f55108) at PassManager.cpp:1226
#17 0x084109a3 in main (argc=3, argv=0xff9cea74) at llc.cpp:317
(gdb) up 4
#4  0x08940fcd in llvm::MVT::getIntegerVTBitMask (this=0xff9ce160)
    at /home/nicholas/llvm-commit/include/llvm/CodeGen/ValueTypes.h:450
450                  "getIntegerVTBitMask doesn't use APInt!");
(gdb) p EltVT.getSizeInBits()
$1 = 128


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