aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2024-08-22 11:24:08 -0400
committerAlexey Bataev <a.bataev@outlook.com>2024-08-23 06:45:22 -0700
commitf3d2609af3031ddb54030548e86335f295cf49ca (patch)
tree5d270fb944615426a1b9bbade4d4df31fb6d5799 /clang/lib/Frontend/InitPreprocessor.cpp
parentf142f8afe21bceb00fb495468aa0b5043e98c419 (diff)
downloadllvm-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