http://llvm.org/bugs/show_bug.cgi?id=4669
Summary: Assertion failure
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Backend: X86
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
The code
--------
declare <1 x i64> @llvm.x86.mmx.pslli.q(<1 x i64>, i32) nounwind readnone
define <1 x i64> @test(i64 %t) nounwind {
entry:
%t1 = insertelement <1 x i64> undef, i64 %t, i32 0
%t2 = tail call <1 x i64> @llvm.x86.mmx.pslli.q(<1 x i64> %t1, i32 48)
nounwind readnone
ret <1 x i64> %t2
}
----------
Couses llc -march=x86-64 to fail with
SelectionDAG.cpp:2407: llvm::SDValue llvm::SelectionDAG::getNode(unsigned int,
llvm::DebugLoc, llvm::MVT, llvm::SDValue): Assertion
`Operand.getValueType().bitsLT(VT) && "Invalid anyext node, dst < src!"'
failed.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs