summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2017-01-08 14:14:36 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2017-01-08 14:14:36 +0000
commit9c58950eeb0ac0ffe86b0ebdd43b2042d4fb9de6 (patch)
tree412bdbf49e6ae2cbe5205b0168d39f6399891dd9 /llvm/lib/Object
parent1fa5487c0529c80a66565ba99111644532c49aff (diff)
downloadbcm5719-llvm-9c58950eeb0ac0ffe86b0ebdd43b2042d4fb9de6.tar.gz
bcm5719-llvm-9c58950eeb0ac0ffe86b0ebdd43b2042d4fb9de6.zip
[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/Object')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud