[polly] Isl ast gen compute out (PR #201859)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 9 00:11:20 PDT 2026


================
@@ -204,18 +209,23 @@ static isl_printer *cbPrintFor(__isl_take isl_printer *Printer,
 static bool astScheduleDimIsParallel(const isl::ast_build &Build,
                                      const Dependences *D,
                                      IslAstUserPayload *NodeInfo) {
-  if (!D->hasValidDependences())
+  if (!D || !D->hasValidDependences())
     return false;
 
   isl::union_map Schedule = Build.get_schedule();
+  if (Schedule.is_null())
+    return false;
   isl::union_map Dep = D->getDependences(
----------------
efriedma-quic wrote:

Do we need to do anything with getDependences?

https://github.com/llvm/llvm-project/pull/201859


More information about the llvm-commits mailing list