[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:28 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) {
----------------
Meinersbur wrote:
Would it be possible to not need to propagate `IntraTileHint` through multiple functions, but instead make `checkOpenMPIterationSpace` find it itself? For instance `Stmt *S` can be that AttributedStmt. If so, extract the `OMPInvariantPredicateBoundAttr` and continue with the Stmt that S had attributed.
https://github.com/llvm/llvm-project/pull/191114
More information about the llvm-commits
mailing list