commit | cdfe078a42f95b07294f711d84b965fd6ef45ad5 | [log] [tgz] |
---|---|---|
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | Wed Jun 29 16:56:09 2016 +0000 |
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | Wed Jun 29 16:56:09 2016 +0000 |
tree | 2683a7a81067f773c7b2ad40c925b889f4f3113a | |
parent | f98b39d12ddf7e745d2591339b56c979dc13aca3 [diff] |
[X86] Lower blended PACKUSes using appropriate types. When lowering two blended PACKUS, we used to disregard the types of the PACKUS inputs, indiscriminately generating a v16i8 PACKUS. This leads to non-selectable things like: (v16i8 (PACKUS (v4i32 v0), (v4i32 v1))) Instead, check that the PACKUSes have the same type, and use that as the final result type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274138 91177308-0d34-0410-b5e6-96231b3b80d8