[Openmp-commits] [clang] [flang] [llvm] [openmp] [Clang][OpenMP][LoopTransformations] Add support for "#pragma omp fuse" loop transformation directive and "looprange" clause (PR #139293)

Roger Ferrer Ibáñez via Openmp-commits openmp-commits at lists.llvm.org
Mon Sep 22 00:42:14 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());
----------------
rofirrim wrote:

The field is (and the getter yields) an `unsigned` type. So I'd say so.

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


More information about the Openmp-commits mailing list