[PATCH] D43738: [X86] Use target independent zero_extend/sign_extend nodes for vectors with same number of elements.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 19 10:16:07 PDT 2018


craig.topper added a comment.

I did play around with loosening the extend_vector_inreg restrctions a while back. Most of the changes I found are in the legalizers as that's where most of the rules matter.

I also tried just using extend_vector_inreg as is and emitting an extract_subvector during isel. But I couldn't use extend_vector_inreg of v64i8->v8i64 for vpmovbw %xmm, %zmm with +avx512,-avx512bw becuase the v64i8 type isn't legal.

This patch has been sitting for a while so it probably needs to be rebased.


https://reviews.llvm.org/D43738





More information about the llvm-commits mailing list