[llvm] [WIP][SLP] SLP's copyable elements based upon Main/Alt operations. (PR #124242)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 31 04:24:21 PST 2025
================
@@ -4296,6 +4535,10 @@ class BoUpSLP {
/// ScheduleData structures are recycled.
DenseMap<Instruction *, ScheduleData *> ScheduleDataMap;
+ /// Attaches ScheduleData to Instruction with the leading key.
+ DenseMap<Value *, SmallDenseMap<Value *, ScheduleData *>>
----------------
alexey-bataev wrote:
1. Not sure this solution will allow to solve all the problems.
2. Better to avoid adding new storages with the same logic as the existing one (ScheduleDataMap in your case). Better to extend the existing with the new functionality to avoid complex handling
https://github.com/llvm/llvm-project/pull/124242
More information about the llvm-commits
mailing list