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

Alireza Torabian via llvm-commits llvm-commits at lists.llvm.org
Fri May 30 11:49:05 PDT 2025


================
@@ -264,27 +313,37 @@ namespace llvm {
     bool normalize(ScalarEvolution *SE) override;
 
     /// isPeelFirst - Returns true if peeling the first iteration from
-    /// this loop will break this dependence.
-    bool isPeelFirst(unsigned Level) const override;
+    /// this loop will break this dependence. If Separate is set to true,
+    /// information about a separate level is provided.
----------------
1997alireza wrote:

Comment is added in the [header file](https://github.com/llvm/llvm-project/commit/ede8ec290cb36550989c4a9b77abe53ce68a44db#diff-a8e5172648e6d4a30428c40241b8df981e8fdd3a87dd1ddc2e8ca2b4255c1f53R85).

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


More information about the llvm-commits mailing list