[LLVMbugs] [Bug 4669] New: Assertion failure

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Aug 1 20:49:38 PDT 2009


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: unassignedbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list