aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/Shell/ScriptInterpreter/Python/Inputs
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2021-08-04 10:58:37 -0700
committerAlexey Bataev <a.bataev@outlook.com>2022-05-20 05:58:09 -0700
commitfc9c59c355cb255446e571b4515b5e41a76503c4 (patch)
tree51dfcbf490bb80da1bf9bd2e0bcdb74811106a0d /lldb/test/Shell/ScriptInterpreter/Python/Inputs
parent4e271fc49517362a9333371fb1ab7e865d4c1b0e (diff)
downloadllvm-fc9c59c355cb255446e571b4515b5e41a76503c4.zip
llvm-fc9c59c355cb255446e571b4515b5e41a76503c4.tar.gz
llvm-fc9c59c355cb255446e571b4515b5e41a76503c4.tar.bz2
[SLP]Do not emit extract elements for insertelements users, replace with shuffles directly.
SLP vectorizer emits extracts for externally used vectorized scalars and estimates the cost for each such extract. But in many cases these scalars are input for insertelement instructions, forming buildvector, and instead of extractelement/insertelement pair we can emit/cost estimate shuffle(s) cost and generate series of shuffles, which can be further optimized. Tested using test-suite (+SPEC2017), the tests passed, SLP was able to generate/vectorize more instructions in many cases and it allowed to reduce number of re-vectorization attempts (where we could try to vectorize buildector insertelements again and again). Differential Revision: https://reviews.llvm.org/D107966
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python/Inputs')
0 files changed, 0 insertions, 0 deletions