[clang] [llvm] [mlir] [openmp] [Clang][OpenMP] Canonicalize Intra-tiles in Loop Tiling (PR #191114)

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 12 06:19:27 PDT 2026


================
@@ -9575,8 +9581,25 @@ static bool checkOpenMPIterationSpace(
     llvm::MutableArrayRef<LoopIterationSpace> ResultIterSpaces,
     llvm::MapVector<const Expr *, DeclRefExpr *> &Captures,
     const llvm::SmallPtrSetImpl<const Decl *> &CollapsedLoopVarDecls,
-    llvm::SmallPtrSetImpl<const Decl *> &CollapsedLoopInductionVars) {
+    llvm::SmallPtrSetImpl<const Decl *> &CollapsedLoopInductionVars,
+    const OMPInvariantPredicateBoundAttr *IntraTileHint) {
   bool SupportsNonRectangular = !isOpenMPLoopTransformationDirective(DKind);
+  // See the tile reinterpretation design note in ActOnOpenMPTileDirective.
----------------
Meinersbur wrote:

```suggestion

  // See the tile reinterpretation design note in ActOnOpenMPTileDirective.
```
[nit] Usually we put an empty line before comment lines

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


More information about the llvm-commits mailing list