[LLVMbugs] [Bug 11460] New: [LLVM, SelectionDAG] store <N x i1> crash.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 1 02:20:11 PST 2011


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

             Bug #: 11460
           Summary: [LLVM, SelectionDAG] store <N x i1> crash.
           Product: tools
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: stpworld at narod.ru
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 7661
  --> http://llvm.org/bugs/attachment.cgi?id=7661
Testcase

Attempt to store i1 vectors crashes llc with assertion. Testcase is attached.
Assertion:
./llc < store-v4i1.ll
    .file    "<stdin>"
llc:
/home/stepan/projects/llvm.project/llvm/include/llvm/CodeGen/ValueTypes.h:563:
llvm::MVT llvm::EVT::getSimpleVT() const: Assertion `isSimple() && "Expected a
SimpleValueType!"' failed.
0  llc             0x090b62ca
1  llc             0x090b6057
2  libpthread.so.0 0x007ae9e8
3  libc.so.6       0x001e734e abort + 382
4  libc.so.6       0x001dc888 __assert_fail + 248
5  llc             0x086bc560 llvm::EVT::getSimpleVT() const + 82
6  llc             0x08aa8109
llvm::TargetLowering::getTruncStoreAction(llvm::EVT, llvm::EVT) const + 121
7  llc             0x08ba5c9d
8  llc             0x08ba572a
9  llc             0x08ba8066 llvm::SelectionDAG::LegalizeVectors() + 36
10 llc             0x08b4ba25 llvm::SelectionDAGISel::CodeGenAndEmitDAG() +
1767
11 llc             0x08b4afeb
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 219
12 llc             0x08b4d570
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 2368
13 llc             0x08b4a52d
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 689
14 llc             0x08cae8e1
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 87
15 llc             0x09048322
llvm::FPPassManager::runOnFunction(llvm::Function&) + 344
16 llc             0x09048508 llvm::FPPassManager::runOnModule(llvm::Module&) +
114
17 llc             0x09048804 llvm::MPPassManager::runOnModule(llvm::Module&) +
400
18 llc             0x09048cbf llvm::PassManagerImpl::run(llvm::Module&) + 127
19 llc             0x09049075 llvm::PassManager::run(llvm::Module&) + 39
20 llc             0x086484c2 main + 2692
21 libc.so.6       0x001cfe37 __libc_start_main + 231
22 llc             0x08647331
Stack dump:
0.    Program arguments: ./llc 
1.    Running pass 'Function Pass Manager' on module '<stdin>'.
2.    Running pass 'X86 DAG->DAG Instruction Selection' on function '@test'

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