diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2021-05-26 11:56:22 -0700 |
---|---|---|
committer | Alexey Bataev <a.bataev@outlook.com> | 2021-06-21 12:26:24 -0700 |
commit | 908b7536615ee8694d949b60716833893c7f7049 (patch) | |
tree | 63960d09b1ac28ce91ce39ab54f3727f7f3d1585 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 5780611d7e044ef56c4214df2c236ef5e15545ab (diff) | |
download | llvm-908b7536615ee8694d949b60716833893c7f7049.zip llvm-908b7536615ee8694d949b60716833893c7f7049.tar.gz llvm-908b7536615ee8694d949b60716833893c7f7049.tar.bz2 |
[SLP]Improve vectorization of PHI instructions.
Perform better analysis when trying to vectorize PHIs.
1. Do not try to vectorize vector PHIs.
2. Do deeper analysis for more profitable nodes for the vectorization.
Before we just tried to vectorize the PHIs of the same type. Patch
improves this and tries to vectorize PHIs with incoming values which
come from the same basic block, have the same and/or alternative
opcodes.
It allows to save the compile time and provides better vectorization
results in general.
Part of D57059.
Differential Revision: https://reviews.llvm.org/D103638
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions