[polly] 02e8a5a - [Polly] Allow param sets for dumpPw().
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 23 11:04:54 PST 2021
Author: Michael Kruse
Date: 2021-01-23T13:03:48-06:00
New Revision: 02e8a5ad3c72ac53275e1dd4de9a2449f072051b
URL: https://github.com/llvm/llvm-project/commit/02e8a5ad3c72ac53275e1dd4de9a2449f072051b
DIFF: https://github.com/llvm/llvm-project/commit/02e8a5ad3c72ac53275e1dd4de9a2449f072051b.diff
LOG: [Polly] Allow param sets for dumpPw().
Added:
Modified:
polly/lib/Support/ISLTools.cpp
Removed:
################################################################################
diff --git a/polly/lib/Support/ISLTools.cpp b/polly/lib/Support/ISLTools.cpp
index 9d8278ac669f..ec4d46b8de95 100644
--- a/polly/lib/Support/ISLTools.cpp
+++ b/polly/lib/Support/ISLTools.cpp
@@ -668,11 +668,11 @@ static int structureCompare(const isl::space &ASpace, const isl::space &BSpace,
}
std::string AName;
- if (ASpace.has_tuple_name(isl::dim::set))
+ if (!ASpace.is_params() && ASpace.has_tuple_name(isl::dim::set))
AName = ASpace.get_tuple_name(isl::dim::set);
std::string BName;
- if (BSpace.has_tuple_name(isl::dim::set))
+ if (!BSpace.is_params() && BSpace.has_tuple_name(isl::dim::set))
BName = BSpace.get_tuple_name(isl::dim::set);
int NameCompare = AName.compare(BName);
More information about the llvm-commits
mailing list