[LLVMbugs] [Bug 1705] New: lower-packed pass fails assertion on bitcast

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Sep 26 00:49:22 PDT 2007


http://llvm.org/bugs/show_bug.cgi?id=1705

           Summary: lower-packed pass fails assertion on bitcast
           Product: libraries
           Version: 2.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Scalar Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jay.foad at antixlabs.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=1142)
 --> (http://llvm.org/bugs/attachment.cgi?id=1142)
bitcode for test case

I'm using LLVM 2.0 on Linux/x86. With the attached bitcode file, I get:

foad at debian:~$ ~/svn/antix/agp/trunk/toolchain/install/bin/opt -f -o opt.o
20050316-1.bc -lower-packed
Unhandled Instruction with Packed ReturnType:   %tmp3 = bitcast i64 %tmp12 to
<2 x i32>         ; <<2 x i32>> [#uses=1]

opt:
/home/foad/svn/antix/agp/trunk/toolchain/llvm/llvm/lib/Transforms/Scalar/LowerPacked.cpp:207:
std::vector<llvm::Value*, std::allocator<llvm::Value*>
>&<unnamed>::LowerPacked::getValues(llvm::Value*): Assertion `false &&
"Unhandled VectorType value"' 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