aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2021-05-26 11:56:22 -0700
committerAlexey Bataev <a.bataev@outlook.com>2021-06-21 12:26:24 -0700
commit908b7536615ee8694d949b60716833893c7f7049 (patch)
tree63960d09b1ac28ce91ce39ab54f3727f7f3d1585 /llvm/lib/CodeGen/MachineFunction.cpp
parent5780611d7e044ef56c4214df2c236ef5e15545ab (diff)
downloadllvm-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