[Openmp-commits] [clang] [flang] [llvm] [openmp] [Clang][OpenMP][LoopTransformations] Add support for "#pragma omp fuse" loop transformation directive and "looprange" clause (PR #139293)
Alexey Bataev via Openmp-commits
openmp-commits at lists.llvm.org
Mon Sep 22 04:34:48 PDT 2025
================
@@ -2487,6 +2487,19 @@ void ASTStmtWriter::VisitOMPInterchangeDirective(OMPInterchangeDirective *D) {
Code = serialization::STMT_OMP_INTERCHANGE_DIRECTIVE;
}
+void ASTStmtWriter::VisitOMPCanonicalLoopSequenceTransformationDirective(
+ OMPCanonicalLoopSequenceTransformationDirective *D) {
+ VisitStmt(D);
+ Record.writeUInt32(D->getNumLoopsInSequence());
----------------
alexey-bataev wrote:
Better to avoid such a transformation for ints. Or use uint32_t explicitly in the code instead of the unsigned
https://github.com/llvm/llvm-project/pull/139293
More information about the Openmp-commits
mailing list