[LLVMbugs] [Bug 4001] New: assertion failed in lshr <2 x i64> without sse2
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Apr 18 09:08:04 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4001
Summary: assertion failed in lshr <2 x i64> without sse2
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
Given test/CodeGen/X86/vshift_split.ll, which for reference reads:
define <2 x i64> @update(<2 x i64> %val) nounwind readnone {
entry:
%shr = lshr <2 x i64> %val, < i64 2, i64 2 > ; <<2 x i64>>
[#uses=1]
ret <2 x i64> %shr
}
running llvm-as < vshift_split.ll | llc -march=-sse2 triggers an assertion
failure:
llc: LegalizeDAG.cpp:517:
void<unnamed>::SelectionDAGLegalize::HandleOp(llvm::SDValue): Assertion
`(TypesNeedLegalizing || getTypeAction(VT) == Legal || IsLegalizingCallArgs ||
Op.getOpcode() == ISD::TargetConstant || Op.getOpcode() == ISD::BUILD_VECTOR)
&& "Illegal type introduced after type legalization?"' failed.
0 llc 0x089a99e2
1 llc 0x089a9f89
2 0xffffe400 __kernel_sigreturn + 0
Stack dump:
0. Program arguments: llc -mattr=-sse2
1. Running pass 'X86 DAG->DAG Instruction Selection' on function
'@update'
It'd be nice if this didn't crash.
--
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