aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2023-03-20 07:26:33 -0700
committerAlexey Bataev <a.bataev@outlook.com>2023-04-05 09:37:05 -0700
commit40105a993399699fe351789c7eb2a0e6d36f440a (patch)
tree47ef4c22a6ae9c7104e23a5ff76ae98fe092d104 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
parentc416f6700f513d86226482f47ad956ceb4e7c927 (diff)
downloadllvm-40105a993399699fe351789c7eb2a0e6d36f440a.zip
llvm-40105a993399699fe351789c7eb2a0e6d36f440a.tar.gz
llvm-40105a993399699fe351789c7eb2a0e6d36f440a.tar.bz2
[SLP]Find reused scalars in buildvector sequences, if any.
Patch generalizes analysis of scalars. The main part is outlined into lambda, which can be used to find reused inserted scalars and emit shuffle for them instead of multiple insertelement instructions, if the permutation is found alreadyi. I.e. some scalars are transformed by the permutation of previously vectorized nodes, and some are inserted directly. Reworked part of D110978 Differential Revision: https://reviews.llvm.org/D146564
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions