diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2024-08-22 11:24:08 -0400 |
---|---|---|
committer | Alexey Bataev <a.bataev@outlook.com> | 2024-08-23 06:45:22 -0700 |
commit | f3d2609af3031ddb54030548e86335f295cf49ca (patch) | |
tree | 5d270fb944615426a1b9bbade4d4df31fb6d5799 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | f142f8afe21bceb00fb495468aa0b5043e98c419 (diff) | |
download | llvm-f3d2609af3031ddb54030548e86335f295cf49ca.zip llvm-f3d2609af3031ddb54030548e86335f295cf49ca.tar.gz llvm-f3d2609af3031ddb54030548e86335f295cf49ca.tar.bz2 |
[SLP]Improve/fix subvectors in gather/buildvector nodes handling
SLP vectorizer has an estimation for gather/buildvector nodes, which
contain some scalar loads. SLP vectorizer performs pretty similar (but
large in SLOCs) estimation, which not always correct. Instead, this
patch implements clustering analysis and actual node allocation with the
full analysis for the vectorized clustered scalars (not only loads, but
also some other instructions) with the correct cost estimation and
vector insert instructions. Improves overall vectorization quality and
simplifies analysis/estimations.
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/104144
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions