diff options
author | Alexey Bataev <5361294+alexey-bataev@users.noreply.github.com> | 2024-03-01 13:49:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-01 13:49:29 -0500 |
commit | 3a30d8e9e59c152caec7abc5cf5437b21cac428e (patch) | |
tree | 5a194ad2997b526a8fffd03f8ab1ad0dd8864f26 /llvm/unittests/Support/ErrorTest.cpp | |
parent | dd426fa5f931f98251bfb3dbd29ecb06e4ce8d46 (diff) | |
download | llvm-3a30d8e9e59c152caec7abc5cf5437b21cac428e.zip llvm-3a30d8e9e59c152caec7abc5cf5437b21cac428e.tar.gz llvm-3a30d8e9e59c152caec7abc5cf5437b21cac428e.tar.bz2 |
[SLP]Check if masked gather can be emitted as a serie of loads/insert subvector.
Masked gather is very expensive operation and sometimes better to
represent it as a serie of consecutive/strided loads + insertsubvectors
sequences. Patch adds some basic estimation and if loads+insertsubvector
is cheaper, decides to represent it in this way rather than masked
gather.
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/83481
Diffstat (limited to 'llvm/unittests/Support/ErrorTest.cpp')
0 files changed, 0 insertions, 0 deletions