[llvm] [SLP][NFC] Redesign schedule bundle, separate from schedule data, NFC (PR #131625)

Gaƫtan Bossu via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 19 07:45:58 PDT 2025


================
@@ -4011,26 +4014,55 @@ class BoUpSLP {
   /// List of hashes of vector of loads, which are known to be non vectorizable.
   DenseSet<size_t> ListOfKnonwnNonVectorizableLoads;
 
+  class ScheduleEntity {
+    friend class ScheduleBundle;
+    friend class ScheduleData;
----------------
gbossu wrote:

Any reason to use friendship here? Could new getters/setters be used instead?

https://github.com/llvm/llvm-project/pull/131625


More information about the llvm-commits mailing list