[X86] Enable v4i32->v4i16 and v8i16->v8i8 saturating truncates to use pack instructio...
authorCraig Topper <craig.topper@intel.com>
Sun, 13 Oct 2019 05:47:47 +0000 (05:47 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 13 Oct 2019 05:47:47 +0000 (05:47 +0000)
commitbf57aa2b25c54a30246cd87addfdb90529908fd3
tree93fd643347b7c5b0f4ae1732a79597a1b30e6666
parent8fe8adb9f192c84513c06ddabd3c7f013b21aabe
[X86] Enable v4i32->v4i16 and v8i16->v8i8 saturating truncates to use pack instructions with avx512.

llvm-svn: 374705
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/vector-trunc-packus.ll
llvm/test/CodeGen/X86/vector-trunc-ssat.ll