[X86][FP16] Avoid to generate VZEXT_MOVL with i16
authorPhoebe Wang <pengfei.wang@intel.com>
Fri, 12 Nov 2021 00:50:07 +0000 (08:50 +0800)
committerPhoebe Wang <pengfei.wang@intel.com>
Fri, 12 Nov 2021 01:32:29 +0000 (09:32 +0800)
commit74b979abcd0fd711cb1038b666eabf17f2274fe3
treeee354a1e1bedad96552059119448eb909105914f
parented7b37155b48715dc5b2ec8c52571ce754cf7a80
[X86][FP16] Avoid to generate VZEXT_MOVL with i16

This fixes the crash due to lacking VZEXT_MOVL support with i16.

Reviewed By: LuoYuanke, RKSimon

Differential Revision: https://reviews.llvm.org/D113661
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/avx512fp16-mov.ll