[Mlir-commits] [mlir] 4bef782 - Add a temporary alias for TransitiveFilter.
Johannes Reifferscheid
llvmlistbot at llvm.org
Fri Jun 9 02:45:07 PDT 2023
Author: Johannes Reifferscheid
Date: 2023-06-09T11:45:00+02:00
New Revision: 4bef782a6a4aee12b977d243c07ec5e2a9525bb9
URL: https://github.com/llvm/llvm-project/commit/4bef782a6a4aee12b977d243c07ec5e2a9525bb9
DIFF: https://github.com/llvm/llvm-project/commit/4bef782a6a4aee12b977d243c07ec5e2a9525bb9.diff
LOG: 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
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 d170b512e3531..4f548b2440a92 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
More information about the Mlir-commits
mailing list