[PATCH] D46957: [x86] Lower some trunc + shuffle patterns to vpmovd[b|w]

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 16 13:39:04 PDT 2018


craig.topper added a comment.

I haven't tried but you might be able to do

__builtin_shufflevector(__builtin_convertvector((__v4di)__A, __v4qi), (__v4qi){0, 0, 0, 0}, 0, 1, 2, 3, 4, 5, 6);


https://reviews.llvm.org/D46957





More information about the llvm-commits mailing list