[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
================
@@ -15257,6 +15367,13 @@ StmtResult SemaOpenMP::ActOnOpenMPTileDirective(ArrayRef<OMPClause *> Clauses,
ForStmt(Context, InitStmt.get(), CondExpr.get(), nullptr,
IncrStmt.get(), Inner, LoopHelper.Init->getBeginLoc(),
LoopHelper.Init->getBeginLoc(), LoopHelper.Inc->getEndLoc());
+
+ // Attach the droppable reinterpretation attribute to the intra-tile loop.
+ auto *Hint = OMPInvariantPredicateBoundAttr::CreateImplicit(
----------------
Meinersbur wrote:
The OMPInvariantPredicateBoundAttr doesn't need to be added either in this case.
https://github.com/llvm/llvm-project/pull/191114
More information about the llvm-commits
mailing list