[all-commits] [llvm/llvm-project] 30ebcf: [SLP][NFC]Store operand entries in the map
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Mon May 19 16:54:09 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 30ebcf6280ae098d9d16f5648e99855d612e4954
https://github.com/llvm/llvm-project/commit/30ebcf6280ae098d9d16f5648e99855d612e4954
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2025-05-19 (Mon, 19 May 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[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
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list