[Mlir-commits] [mlir] 389a8c2 - Inherit SliceOptions constructor in BackwardSliceOptions.
Johannes Reifferscheid
llvmlistbot at llvm.org
Fri Jun 9 03:58:19 PDT 2023
Author: Johannes Reifferscheid
Date: 2023-06-09T12:58:13+02:00
New Revision: 389a8c298e8b5c20373dd9837e2b46dfcddc88de
URL: https://github.com/llvm/llvm-project/commit/389a8c298e8b5c20373dd9837e2b46dfcddc88de
DIFF: https://github.com/llvm/llvm-project/commit/389a8c298e8b5c20373dd9837e2b46dfcddc88de.diff
LOG: Inherit SliceOptions constructor in BackwardSliceOptions.
Reviewed By: csigg
Differential Revision: https://reviews.llvm.org/D152515
Added:
Modified:
mlir/include/mlir/Analysis/SliceAnalysis.h
Removed:
################################################################################
diff --git a/mlir/include/mlir/Analysis/SliceAnalysis.h b/mlir/include/mlir/Analysis/SliceAnalysis.h
index 27d4836af7403..b20729d138612 100644
--- a/mlir/include/mlir/Analysis/SliceAnalysis.h
+++ b/mlir/include/mlir/Analysis/SliceAnalysis.h
@@ -41,6 +41,7 @@ struct SliceOptions {
using TransitiveFilter = SliceOptions::TransitiveFilter;
struct BackwardSliceOptions : public SliceOptions {
+ using SliceOptions::SliceOptions;
/// When omitBlockArguments is true, the backward slice computation omits
/// traversing any block arguments. When omitBlockArguments is false, the
/// backward slice computation traverses block arguments and asserts that the
More information about the Mlir-commits
mailing list