diff options
author | Daniil Fukalov <daniil.fukalov@amd.com> | 2021-10-29 18:29:57 +0300 |
---|---|---|
committer | Daniil Fukalov <daniil.fukalov@amd.com> | 2021-12-03 03:08:08 +0300 |
commit | ab05ab59a7bd22889fe19389431676b3414c6b7d (patch) | |
tree | d3cb046918e1988b3a9a7a9b7d4778ca56c62e88 /clang/lib/Driver/ToolChain.cpp | |
parent | 266a66c915cbbc36b1a3887963eb97f32306c7e4 (diff) | |
download | llvm-ab05ab59a7bd22889fe19389431676b3414c6b7d.zip llvm-ab05ab59a7bd22889fe19389431676b3414c6b7d.tar.gz llvm-ab05ab59a7bd22889fe19389431676b3414c6b7d.tar.bz2 |
[CostModel][AMDGPU] Fix instructions costs estimation for vector types.
1. Fixed vector instructions costs estimations incosistency - removed different
logic for "not simple types" since it biases costs for these types.
2. Fixed legalization penalty for vectors too big for the target: changed from
overwrite default legalization cost value estimation to added penalty.
3. Fixed few typos in tests.
Reviewed By: rampitec
Differential Revision: https://reviews.llvm.org/D114893
Diffstat (limited to 'clang/lib/Driver/ToolChain.cpp')
0 files changed, 0 insertions, 0 deletions