[PATCH] D17504: AVX512: vpmovzxbw lowering patterns.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 22 10:37:22 PST 2016


RKSimon added a comment.

Please can you add test cases for xmm -> ymm as well? These fail in a similar manner with -mcpu=skx

  define <16 x i16> @zext_16x8_to_16x16(<16 x i8> %a) nounwind readnone {
    %1 = shufflevector <16 x i8> %a, <16 x i8> zeroinitializer, <32 x i32> <i32 0, i32 16, i32 1, i32 16, i32 2, i32 16, i32 3, i32 16, i32 4, i32 16, i32 5, i32 16, i32 6, i32 16, i32 7, i32 16, i32 8, i32 16, i32 9, i32 16, i32 10, i32 16, i32 11, i32 16, i32 12, i32 16, i32 13, i32 16, i32 14, i32 16, i32 15, i32 16>
    %2 = bitcast <32 x i8> %1 to <16 x i16>
    ret <16 x i16> %2
  }


http://reviews.llvm.org/D17504





More information about the llvm-commits mailing list