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

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 17 11:55:04 PDT 2025


================
@@ -238,13 +277,30 @@ class LLVM_ABI FullDependence final : public Dependence {
   /// source and destination of the dependence.
   unsigned getLevels() const override { return Levels; }
 
+  /// getFusableLevels - Returns the number of fusable loops surrounding
+  /// the source and destination of the dependence.
+  unsigned getFusableLevels() const override { return FusableLevels; }
+
+  /// getDVEntry - Returns the DV entry associated with a regular or a
+  /// fusable level
----------------
amehsan wrote:

add a period at the end

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


More information about the llvm-commits mailing list