[polly] r298258 - [DeLICM] Add forgotten isl_space_set_tuple_id in unittests.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 20 08:24:46 PDT 2017
Author: meinersbur
Date: Mon Mar 20 10:24:45 2017
New Revision: 298258
URL: http://llvm.org/viewvc/llvm-project?rev=298258&view=rev
Log:
[DeLICM] Add forgotten isl_space_set_tuple_id in unittests.
Otherwise the isl_id NewId which ensures uniqueness of the
created space is unused. None of the tests currently uses an
nameless tuple, so there is not change in what is tested.
Modified:
polly/trunk/unittests/DeLICM/DeLICMTest.cpp
Modified: polly/trunk/unittests/DeLICM/DeLICMTest.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/unittests/DeLICM/DeLICMTest.cpp?rev=298258&r1=298257&r2=298258&view=diff
==============================================================================
--- polly/trunk/unittests/DeLICM/DeLICMTest.cpp (original)
+++ polly/trunk/unittests/DeLICM/DeLICMTest.cpp Mon Mar 20 10:24:45 2017
@@ -107,6 +107,8 @@ bool checkIsConflictingNonsymmetric(Know
// The space must contains at least one dimension to allow order
// modifications.
auto NewSpace = give(isl_space_set_alloc(Ctx.get(), 0, 1));
+ NewSpace =
+ give(isl_space_set_tuple_id(NewSpace.take(), isl_dim_set, NewId.copy()));
auto NewSet = give(isl_set_universe(NewSpace.take()));
Universe = give(isl_union_set_add_set(Universe.take(), NewSet.take()));
More information about the llvm-commits
mailing list