Skip to content

C++ API to shufflevector wants mask the same size as arg 1 #3632

@llvmbot

Description

@llvmbot
Bugzilla Link 3260
Resolution INVALID
Resolved on Dec 23, 2008 10:02
Version unspecified
OS MacOS X
Reporter LLVM Bugzilla Contributor

Extended Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillainvalidResolved as invalid, i.e. not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions