[LLVMbugs] [Bug 10524] New: llvm::EVT llvm::EVT::getVectorElementType() const: Assertion `isVector() && "Invalid vector type!"' failed.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jul 28 07:13:55 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10524
Summary: llvm::EVT llvm::EVT::getVectorElementType() const:
Assertion `isVector() && "Invalid vector type!"'
failed.
Product: libraries
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nadav.rotem at intel.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=6956)
--> (http://llvm.org/bugs/attachment.cgi?id=6956)
LL file reproducing the problem
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
1. Running pass 'Function Pass Manager' on module 'temp.ll'.
2. 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
}
--
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