diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-02-27 15:36:13 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-02-27 15:54:13 +0000 |
commit | 168a44a70eb562f9a88a2e25b6ffd9cca3b25052 (patch) | |
tree | 98a522ed9d4408af4116395aba44127f4b067d3e /clang/lib/Basic/Module.cpp | |
parent | 965ba4291a6d978c7d4d98831d6ae62e9761f37d (diff) | |
download | llvm-168a44a70eb562f9a88a2e25b6ffd9cca3b25052.zip llvm-168a44a70eb562f9a88a2e25b6ffd9cca3b25052.tar.gz llvm-168a44a70eb562f9a88a2e25b6ffd9cca3b25052.tar.bz2 |
[CostModel][X86] Improve extract/insert element costs (PR43605)
This tries to improve the accuracy of extract/insert element costs by accounting for subvector extraction/insertion for >128-bit vectors and the shuffling of elements to/from the 0'th index.
It also adds INSERTPS for f32 types and PINSR/PEXTR costs for integer types (at the moment we assume the same cost as MOVD/MOVQ - which isn't always true).
Differential Revision: https://reviews.llvm.org/D74976
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions