diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2025-01-27 15:56:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-27 15:56:22 +0000 |
commit | 178f47143a3b3c547df6d1f07e9707792f5d9fd4 (patch) | |
tree | 2d095edf80344275ddff501dfe968ad0302c07c7 /libcxx/src/algorithm.cpp | |
parent | cb6f021af2354761357684ffa26ebbe718615244 (diff) | |
download | llvm-178f47143a3b3c547df6d1f07e9707792f5d9fd4.zip llvm-178f47143a3b3c547df6d1f07e9707792f5d9fd4.tar.gz llvm-178f47143a3b3c547df6d1f07e9707792f5d9fd4.tar.bz2 |
[CostModel][X86] getShuffleCost - shuffles with only one defined element are always cheap (#124412)
If we're just moving a single element around inside a 128-bit lane (probably as an alternative to extracting it), we can assume this is cheap as a single PSRLDQ/PSHUFD/SHUFPS.
I've got the horrid feeling we're moving towards matching all SSE shuffle patterns inside the cost model, but I'm going to do my best to avoid this for now :|
Diffstat (limited to 'libcxx/src/algorithm.cpp')
0 files changed, 0 insertions, 0 deletions