[LLVMbugs] [Bug 2566] New: Combine of bitcast and shuffle assumes vector to vector cast

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jul 18 05:45:07 PDT 2008


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

           Summary: Combine of bitcast and shuffle assumes vector to vector
                    cast
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nicolas at capens.net
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=1844)
 --> (http://llvm.org/bugs/attachment.cgi?id=1844)
Replacement of fibonacci.cpp generating the LLVM IR

When a cast from a plain integer to a vector is followed by a shuffle, I'm
hitting an assert originating in DAGCombiner::visitVECTOR_SHUFFLE:

Assertion failed: isVector() && "Invalid vector type!", file
d:\Projects\LLVM\in
clude\llvm/CodeGen/ValueTypes.h, line 333

It looks like it's incorrectly assuming the cast to be a cast from one vector
to another.


-- 
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