================
@@ -9668,8 +9693,18 @@ static bool checkOpenMPIterationSpace(
     return HasErrors;
 
   // Build the loop's iteration space representation.
-  ResultIterSpaces[CurrentNestedLoopCount].PreCond = ISC.buildPreCond(
-      DSA.getCurScope(), For ? For->getCond() : CXXFor->getCond(), Captures);
+  ResultIterSpaces[CurrentNestedLoopCount].PreCond =
+      ISC.buildPreCond(DSA.getCurScope(), EffectiveCond, Captures);
+  // Reinterpreted intra-tile: precondition is trivially true (.floor.iv
+  // unreadable here); overshoot handled by Predicate.
----------------
Meinersbur wrote:

Should this be in the else branch of `if (TileRectCond)`?

https://github.com/llvm/llvm-project/pull/191114
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to