[flang] [llvm] [mlir] [flang][OpenMP] Enable tiling (PR #143715)

Tom Eccles via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 25 08:56:42 PDT 2025


================
@@ -5024,8 +5024,9 @@ struct OpenMPBlockConstruct {
 struct OpenMPLoopConstruct {
   TUPLE_CLASS_BOILERPLATE(OpenMPLoopConstruct);
   OpenMPLoopConstruct(OmpBeginLoopDirective &&a)
-      : t({std::move(a), std::nullopt, std::nullopt}) {}
+      : t({std::move(a), std::nullopt, std::nullopt, std::nullopt}) {}
   std::tuple<OmpBeginLoopDirective, std::optional<DoConstruct>,
+      std::optional<common::Indirection<OpenMPLoopConstruct>>,
----------------
tblah wrote:

Does this strictly only support nesting of two loop constructs or do you plan for it to work like a linked list: with each loop construct pointing to the next inner-most construct?

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


More information about the llvm-commits mailing list