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

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 23 11:45:59 PDT 2018


craig.topper added inline comments.


================
Comment at: test/CodeGen/X86/shuffle-vs-trunc-512.ll:949
+; AVX512F-NEXT:    vpmovqw %zmm0, %xmm0
+; AVX512F-NEXT:    vpshufb {{.*#+}} xmm0 = xmm0[0,2,4,6,8,10,12,14],zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-NEXT:    vzeroupper
----------------
This is an AVX512F instruction we're trying to handle here and we are failing to remove the shuffle with AVX512F. 


https://reviews.llvm.org/D46957





More information about the llvm-commits mailing list