diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2021-11-06 16:45:15 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2021-11-06 16:45:15 +0300 |
commit | f8efc5c0ac68d2f94c8f83e65798e786e2c8c8cd (patch) | |
tree | 5c920fe69c40c48d9f4a1ed0dde171dbcdf7e113 /llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp | |
parent | 39c4c7d3912a6759e537e03ed334451e9f96e9ad (diff) | |
download | llvm-f8efc5c0ac68d2f94c8f83e65798e786e2c8c8cd.zip llvm-f8efc5c0ac68d2f94c8f83e65798e786e2c8c8cd.tar.gz llvm-f8efc5c0ac68d2f94c8f83e65798e786e2c8c8cd.tar.bz2 |
[NFC][TTI] Add/extract `getReplicationShuffleCost()` method, deduplicate it's implementations
Hiding it in `getInterleavedMemoryOpCost()` is problematic for a number of reasons,
including testability and reuse, let's do better.
In a followup `getUserCost()` will be taught to use to to estimate the mask costs,
which will allow for better cost model tests for it.
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D113313
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp')
0 files changed, 0 insertions, 0 deletions