ispc/ispc — Issue #141: c++ backend should pass shufflevector along to intrinsics implementation
Author: mmp
Created: 2012-01-05 00:03:08+00:00
State: open
Labels: code cleanups

Currently shufflevector instructions are handled via array indexing in generated C++ code. Not only would this give incorrect results for a hypothetical shufflevector on an <16 x i1> array, but it also prevents the C++ targets from mapping these to intrinsics when possible.