[LLVMbugs] [Bug 3260] New: C++ API to shufflevector wants mask the same size as arg 1

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Dec 23 04:10:40 PST 2008


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

           Summary: C++ API to shufflevector wants mask the same size as arg
                    1
           Product: new-bugs
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: lennart at augustsson.net
                CC: llvmbugs at cs.uiuc.edu


The documentation for shufflevector says that the mask can have a different
length than the two first arguments (which will also be the size of the
result).
But the C++ code in lib/VMCore/Instructions.cpp, line 1328 forces the mask to
be the same length as argument 1.
Either the documentation or the C++ is wrong.

This is for LLVM 2.4 (bugzilla only lets me pick unspecified, seems like a
bug).


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