llvm-project
0d2ef7af - [libclc] Use builtin_convertvector to convert between vector types (#115865)

Commit
1 year ago
[libclc] Use builtin_convertvector to convert between vector types (#115865) This keeps values in vectors, rather than scalarizing them and then reconstituting the vector. The builtin is identical to performing a C-style cast on each element, which is what we were doing by recursively splitting the vector down to calling the "base" conversion function on each element.
Author
Parents
Loading