[Mlir-commits] [mlir] [mlir] NFC: void visitRegionSuccessors (PR #125268)

Maksim Levental llvmlistbot at llvm.org
Fri Jan 31 11:03:15 PST 2025


https://github.com/makslevental updated https://github.com/llvm/llvm-project/pull/125268

>From cf452cc5bfc21b93d70b77a2c6c59dff2c01fa50 Mon Sep 17 00:00:00 2001
From: Maksim Levental <maksim.levental at gmail.com>
Date: Fri, 31 Jan 2025 13:54:17 -0500
Subject: [PATCH] [mlir] NFC: void visitRegionSuccessors

---
 mlir/include/mlir/Analysis/DataFlow/SparseAnalysis.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/mlir/include/mlir/Analysis/DataFlow/SparseAnalysis.h b/mlir/include/mlir/Analysis/DataFlow/SparseAnalysis.h
index 387b9ee707179b..48627f36c51455 100644
--- a/mlir/include/mlir/Analysis/DataFlow/SparseAnalysis.h
+++ b/mlir/include/mlir/Analysis/DataFlow/SparseAnalysis.h
@@ -255,10 +255,10 @@ class AbstractSparseForwardDataFlowAnalysis : public DataFlowAnalysis {
   /// operation `branch`, which can either be the entry block of one of the
   /// regions or the parent operation itself, and set either the argument or
   /// parent result lattices.
-  void visitRegionSuccessors(ProgramPoint *point,
-                             RegionBranchOpInterface branch,
-                             RegionBranchPoint successor,
-                             ArrayRef<AbstractSparseLattice *> lattices);
+  virtual void
+  visitRegionSuccessors(ProgramPoint *point, RegionBranchOpInterface branch,
+                        RegionBranchPoint successor,
+                        ArrayRef<AbstractSparseLattice *> lattices);
 };
 
 //===----------------------------------------------------------------------===//



More information about the Mlir-commits mailing list