[polly] 159e072 - [Polly] Use isl::set::tuple_dim instead of isl::set::dim. NFC
Riccardo Mori via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 19 03:43:57 PDT 2021
Author: Riccardo Mori
Date: 2021-07-19T12:43:23+02:00
New Revision: 159e072f812317c26d480d79408b6606b010d800
URL: https://github.com/llvm/llvm-project/commit/159e072f812317c26d480d79408b6606b010d800
DIFF: https://github.com/llvm/llvm-project/commit/159e072f812317c26d480d79408b6606b010d800.diff
LOG: [Polly] Use isl::set::tuple_dim instead of isl::set::dim. NFC
This is part of an effort to reduce the differences between the custom C++ bindings used right now by polly in `lib/External/isl/include/isl/isl-noxceptions.h` and the official isl C++ interface.
Note that not all the usages of `isl::set::dim` were replaced
Added:
Modified:
polly/lib/Analysis/DependenceInfo.cpp
Removed:
################################################################################
diff --git a/polly/lib/Analysis/DependenceInfo.cpp b/polly/lib/Analysis/DependenceInfo.cpp
index 7c492ba93eba..6a2e2c0e1c57 100644
--- a/polly/lib/Analysis/DependenceInfo.cpp
+++ b/polly/lib/Analysis/DependenceInfo.cpp
@@ -667,7 +667,7 @@ bool Dependences::isValidSchedule(
Dependences = Dependences.apply_range(Schedule);
isl::set Zero = isl::set::universe(ScheduleSpace);
- for (auto i : seq<isl_size>(0, Zero.dim(isl::dim::set)))
+ for (auto i : seq<isl_size>(0, Zero.tuple_dim()))
Zero = Zero.fix_si(isl::dim::set, i, 0);
isl::union_set UDeltas = Dependences.deltas();
More information about the llvm-commits
mailing list