[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 06:59:30 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:
Turns out that I checked where I used this attribute and it is not used anywhere (except serialisation). So we can remove it. (I was under the impression we would need it when I refactored the AST hierarchy, but I was wrong.)
https://github.com/llvm/llvm-project/pull/139293
More information about the Openmp-commits
mailing list