llvm::EVT llvm::EVT::getVectorElementType() const: Assertion `isVector() && "Invalid vector type!"' failed.
| Bugzilla Link | 10524 |
| Resolution | WORKSFORME |
| Resolved on | Feb 21, 2013 02:38 |
| Version | trunk |
| OS | Windows NT |
| Attachments | LL file reproducing the problem |
| Reporter | LLVM Bugzilla Contributor |
| CC | @darkbuck |
Extended Description
llc: /nfs/iil/disks/cvcc/nrotem/llvm/readonly-llvm-head/include/llvm/CodeGen/ValueTypes.h:561: llvm::EVT llvm::EVT::getVectorElementType() const: Assertion `isVector() && "Invalid vector type!"' failed. 0 llc 0x0000000001549f06 1 llc 0x000000000154a494 2 libpthread.so.0 0x00002aaaaabd4d60 3 libc.so.6 0x00002aaaab274f45 gsignal + 53 4 libc.so.6 0x00002aaaab276340 abort + 272 5 libc.so.6 0x00002aaaab26e486 __assert_fail + 246 6 llc 0x0000000000b2c54e llvm::EVT::getVectorElementType() const + 74 7 llc 0x0000000001065ca2 8 llc 0x000000000106ebd2 9 llc 0x000000000105d67b 10 llc 0x000000000105dfda llvm::SelectionDAG::LegalizeTypes() + 50 11 llc 0x0000000000ffe271 llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 1025 12 llc 0x000000000100054e llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 230 13 llc 0x0000000001000eb0 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 2400 14 llc 0x000000000100142f llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 849 15 llc 0x000000000114c971 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 85 16 llc 0x0000000001484137 llvm::FPPassManager::runOnFunction(llvm::Function&) + 371 17 llc 0x000000000148432f llvm::FPPassManager::runOnModule(llvm::Module&) + 81 18 llc 0x0000000001483de3 llvm::MPPassManager::runOnModule(llvm::Module&) + 381 19 llc 0x0000000001485598 llvm::PassManagerImpl::run(llvm::Module&) + 116 20 llc 0x00000000014855fb llvm::PassManager::run(llvm::Module&) + 33 21 llc 0x0000000000ab884d main + 2403 22 libc.so.6 0x00002aaaab262304 __libc_start_main + 244 23 llc 0x0000000000ab6f99 Stack dump: 0. Program arguments: ../llc temp.ll -march=x86-64 -mattr=+sse2,+sse41 -o /dev/null
- Running pass 'Function Pass Manager' on module 'temp.ll'.
- Running pass 'X86 DAG->DAG Instruction Selection' on function '@autogen_178513_5000' ; ModuleID = 'bugpoint-reduced-simplified.bc' target triple = "x86_64-unknown-linux-gnu"
define void @autogen_178513_5000() { BB: %Shuff22 = shufflevector <2 x i32> undef, <2 x i32> zeroinitializer, <2 x i32> <i32 3, i32 1> %B26 = sub <2 x i32> %Shuff22, zeroinitializer %S79 = icmp eq <2 x i32> %B26, zeroinitializer %B269 = urem <2 x i1> zeroinitializer, %S79 %Se335 = sext <2 x i1> %B269 to <2 x i8> store <2 x i8> %Se335, <2 x i8>* undef ret void }
won't crash on LLVM trunk