]> granicus.if.org Git - llvm/commit
[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)
commite166f9ed844a67ec9e70bc425af72731f1b6bbac
tree7ed2f9948f74ceb7b54e81a349b52d3299c65215
parentaa7ea7f0db942f6b5a29bc75eee97b68d91e9966
[X86] Enable v4i32->v4i16 and v8i16->v8i8 saturating truncates to use pack instructions with avx512.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374705 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vector-trunc-packus.ll
test/CodeGen/X86/vector-trunc-ssat.ll