[clang] [Clang][OpenMP] Add an additional class to hold data that will be shared between all loop transformations (PR #155849)

Roger Ferrer Ibáñez via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 2 06:31:05 PDT 2025


================
@@ -956,30 +956,42 @@ class OMPLoopBasedDirective : public OMPExecutableDirective {
   }
 };
 
+/// Common class of data shared between
+/// OMPCanonicalLoopNestTransformationDirective and transformations over
+/// canonical loop sequences.
----------------
rofirrim wrote:

I'm afraid I'll have to back up on this as a number of things don't really work unless they have a subclass (e.g., tablegen and the `classof` support) which in this case it'll be the `OMPFuseDirective` introduced in https://github.com/llvm/llvm-project/pull/139293

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


More information about the cfe-commits mailing list