[LLVMbugs] [Bug 1673] New: Assertion failed in vector code

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Sep 15 16:12:34 PDT 2007


           Summary: Assertion failed in vector code
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: asl at math.spbu.ru
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=1123)
 --> (http://llvm.org/bugs/attachment.cgi?id=1123)
Preprocessed source

Consider attached testcase. It fails with:

cc1plus: /home/asl/proj/llvm/src/lib/VMCore/Instructions.cpp:1854: static
llvm::Instruction::CastOps llvm::CastInst::getCastOpcode(const llvm::Value*,
bool, const llvm::Type*, bool): Assertion `DestPTy->getBitWidth() ==
SrcPTy->getBitWidth() && "Casting vector to vector of different widths"'

It seems, that it tries to emit a cast from 4xi32 to i64.

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