diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-01-08 14:14:36 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-01-08 14:14:36 +0000 |
commit | 9c58950eeb0ac0ffe86b0ebdd43b2042d4fb9de6 (patch) | |
tree | 412bdbf49e6ae2cbe5205b0168d39f6399891dd9 /llvm/lib/Support/CommandLine.cpp | |
parent | 1fa5487c0529c80a66565ba99111644532c49aff (diff) | |
download | llvm-9c58950eeb0ac0ffe86b0ebdd43b2042d4fb9de6.zip llvm-9c58950eeb0ac0ffe86b0ebdd43b2042d4fb9de6.tar.gz llvm-9c58950eeb0ac0ffe86b0ebdd43b2042d4fb9de6.tar.bz2 |
[CostModel][X86] Fixed vXi8 uniform shift costs.
The 'fast' costs should only work for shifts by uniform constants (uniform non-constant are lowered using the slow default implementation).
Logical shifts were not taking into account that we must mask the psrlw result, so the costs needed to be doubled.
Added missing AVX2/AVX512BW costs as well.
llvm-svn: 291391
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions