]> granicus.if.org Git - llvm/commit
[InstCombine][X86] Tweak generic expansion of PACKSS/PACKUS to shuffle then truncate...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 25 Apr 2019 13:51:57 +0000 (13:51 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 25 Apr 2019 13:51:57 +0000 (13:51 +0000)
commit9801d57f94a03339909adee96da0c2ef7e23017d
treef31c45c105e79d1e9954bd36348e07e63814d487
parentcce940f6102202fa324fc19ee6f7427ad8860619
[InstCombine][X86] Tweak generic expansion of PACKSS/PACKUS to shuffle then truncate. NFCI.

This has no effect on constant folding but will be useful when we expand non-saturating PACKSS/PACKUS intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359191 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCalls.cpp