[llvm] [DependenceAnalysis] Extending SIV to handle fusable loops (PR #128782)

Alireza Torabian via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 19 10:19:42 PDT 2025


================
@@ -756,6 +793,35 @@ static bool isLoadOrStore(const Instruction *I) {
   return false;
 }
 
+// Returns true if two loops are the same or they have the same tripcount and
+// depth
+bool DependenceInfo::areLoopsSimilar(const Loop *SrcLoop,
----------------
1997alireza wrote:

Modified the commit message as well.
I changed the acronym to "SameSD" standing for same iteration space and depth.

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


More information about the llvm-commits mailing list