From 4bef782a6a4aee12b977d243c07ec5e2a9525bb9 Mon Sep 17 00:00:00 2001 From: Johannes Reifferscheid Date: Fri, 9 Jun 2023 11:43:04 +0200 Subject: [PATCH] Add a temporary alias for TransitiveFilter. This type was removed in D151520, but downstream dependencies use it. By introducing a temporary allias, we can give these dependencies a chance to update their uses of the type and give them a chance to migrate without breakages. Reviewed By: csigg Differential Revision: https://reviews.llvm.org/D152509 --- mlir/include/mlir/Analysis/SliceAnalysis.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mlir/include/mlir/Analysis/SliceAnalysis.h b/mlir/include/mlir/Analysis/SliceAnalysis.h index d170b51..4f548b24 100644 --- a/mlir/include/mlir/Analysis/SliceAnalysis.h +++ b/mlir/include/mlir/Analysis/SliceAnalysis.h @@ -33,6 +33,9 @@ struct SliceOptions { bool inclusive = false; }; +// TODO: Remove this alias once downstream users are updated. +using TransitiveFilter = SliceOptions::TransitiveFilter; + struct BackwardSliceOptions : public SliceOptions { /// When omitBlockArguments is true, the backward slice computation omits /// traversing any block arguments. When omitBlockArguments is false, the -- 2.7.4