aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2025-05-19 19:53:47 -0400
committerGitHub <noreply@github.com>2025-05-19 19:53:47 -0400
commit30ebcf6280ae098d9d16f5648e99855d612e4954 (patch)
tree3a51e443ce926498fc575cdefa30b16562e10f9d /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parent0a718797eaf141b9117b6ff41dc02c52f462918e (diff)
downloadllvm-30ebcf6280ae098d9d16f5648e99855d612e4954.zip
llvm-30ebcf6280ae098d9d16f5648e99855d612e4954.tar.gz
llvm-30ebcf6280ae098d9d16f5648e99855d612e4954.tar.bz2
[SLP][NFC]Store operand entries in the map
Instead of looking through all the vectorizable tree to find the operand entry, better to store it in a separate map and perform quick lookup, basing on user tree entry and operand index. It allows to remove lots of duplicated code, simplify processing and fix potential future issues with the analysis, affected by the codegen. Also, improves compile time. Reviewers: HanKuanChen, RKSimon, hiraditya Reviewed By: hiraditya Pull Request: https://github.com/llvm/llvm-project/pull/140549
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions