From 29143ec3f7c91d7e6d8aca35d073b10adfa3d07e Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Wed, 22 Mar 2017 17:18:39 +0000 Subject: [PATCH] [DeLICM] Remove AllElements. NFC. It is not used and will not be used (anymore) in future commits. llvm-svn: 298522 --- polly/lib/Transform/DeLICM.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/polly/lib/Transform/DeLICM.cpp b/polly/lib/Transform/DeLICM.cpp index 8264b730303e..518965047c5b 100644 --- a/polly/lib/Transform/DeLICM.cpp +++ b/polly/lib/Transform/DeLICM.cpp @@ -701,10 +701,6 @@ protected: /// Cached version of the schedule and domains. isl::union_map Schedule; - /// Set of all referenced elements. - /// { Element[] -> Element[] } - isl::union_set AllElements; - /// Combined access relations of all MemoryKind::Array READ accesses. /// { DomainRead[] -> Element[] } isl::union_map AllReads; @@ -945,16 +941,6 @@ protected: // { DomainWrite[] -> Element[] } auto AllWrites = give(isl_union_map_union(AllMustWrites.copy(), AllMayWrites.copy())); - - // { Element[] } - AllElements = makeEmptyUnionSet(); - foreachElt(AllWrites, [this](isl::map Write) { - auto Space = give(isl_map_get_space(Write.keep())); - auto EltSpace = give(isl_space_range(Space.take())); - auto EltUniv = give(isl_set_universe(EltSpace.take())); - AllElements = - give(isl_union_set_add_set(AllElements.take(), EltUniv.take())); - }); } /// Print the current state of all MemoryAccesses to @p.