[LLVMbugs] [Bug 9665] __builtin_shufflevector requires a constant integer

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Apr 9 15:10:16 PDT 2011


Eli Friedman <sharparrow1 at yahoo.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |sharparrow1 at yahoo.com
         Resolution|                            |INVALID

--- Comment #1 from Eli Friedman <sharparrow1 at yahoo.com> 2011-04-09 17:10:15 CDT ---
The third argument for _mm_shuffle_ps is supposed to be a "integer constant
expression" (using the term the the C standard uses). Anything beyond that is 
an extension, and not portable.  I'd suggest using something like "enum { n = 1

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