diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2021-06-11 06:02:47 -0700 |
---|---|---|
committer | Alexey Bataev <a.bataev@outlook.com> | 2021-07-08 12:35:39 -0700 |
commit | c574d2fbaca4412c2b758f9049acdb794b2c8764 (patch) | |
tree | 05cdb3170b01249be65fa5acc125d9c00c6eb7b3 /clang/lib/Basic/FileManager.cpp | |
parent | a0ea3675629a1aecc60326e5439d811956b0f92a (diff) | |
download | llvm-c574d2fbaca4412c2b758f9049acdb794b2c8764.zip llvm-c574d2fbaca4412c2b758f9049acdb794b2c8764.tar.gz llvm-c574d2fbaca4412c2b758f9049acdb794b2c8764.tar.bz2 |
[SLP]Improve vectorization of stores.
Patch tries to improve the vectorization of stores. Originally, we just
check the type and the base pointer of the store.
Patch adds some extra checks to avoid non-profitable vectorization
cases. It includes analysis of the scalar values to be stored and
triggers the vectorization attempt only if the scalar values have
same/alt opcode and are from same basic block, i.e. we don't end up
immediately with the gather node, which is not profitable.
This also improves compile time by filtering out non-profitable cases.
Part of D57059.
Differential Revision: https://reviews.llvm.org/D104122
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions