[PATCH] D99971: [Polly] Refactoring isExecutedInParallel() isReductionParallel() getSchedule() getBrokenReductions() getReferencesInSubtree() getScheduleForAstNode() getBrokenReductionsStr() to use isl++

Riccardo Mori via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 6 10:49:03 PDT 2021


patacca updated this revision to Diff 335589.
patacca added a comment.

Using is_null() from isl C++ bindings.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99971/new/

https://reviews.llvm.org/D99971

Files:
  polly/lib/CodeGen/IslNodeBuilder.cpp


Index: polly/lib/CodeGen/IslNodeBuilder.cpp
===================================================================
--- polly/lib/CodeGen/IslNodeBuilder.cpp
+++ polly/lib/CodeGen/IslNodeBuilder.cpp
@@ -476,7 +476,7 @@
     IVS[i] = Builder.CreateAdd(IVS[i - 1], ValueInc, "p_vector_iv");
 
   isl::union_map Schedule = getScheduleForAstNode(isl::manage_copy(For));
-  assert(Schedule.get() &&
+  assert(!Schedule.is_null() &&
          "For statement annotation does not contain its schedule");
 
   IDToValue[IteratorID] = ValueLB;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99971.335589.patch
Type: text/x-patch
Size: 529 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210406/51e1bc69/attachment.bin>


More information about the llvm-commits mailing list