commit | 7250585b4e59b2f5c8b9f313dc1b7c0afecb8285 | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Fri Aug 17 18:03:11 2018 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Fri Aug 17 18:03:11 2018 +0000 |
tree | 5ce59e3d01985be7ad97b4e867239dfa4fd713db | |
parent | f896970b0714f93a801fb1ce2a3610356cbee2c0 [diff] |
[X86][SSE] Lower constant vXi8 ISD::SRL/ISD::SRA using PMULLW Extending the concept introduced in D49562, this patch lowers constant vXi8 ISD::SRL/ISD::SRA by zero/sign extending to vXi16 and using PMULLW and then truncating the high 8 bits of the result. Differential Revision: https://reviews.llvm.org/D50781 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340062 91177308-0d34-0410-b5e6-96231b3b80d8