[llvm-branch-commits] [clang] [flang] [llvm] [Clang][OpenMP] Add permutation clause (PR #92030)

Alexey Bataev via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed May 22 06:03:42 PDT 2024


================
@@ -15149,8 +15139,15 @@ bool SemaOpenMP::checkTransformableLoopNest(
           DependentPreInits = Dir->getPreInits();
         else
           llvm_unreachable("Unhandled loop transformation");
-
-        appendFlattendedStmtList(OriginalInits.back(), DependentPreInits);
+        if (!DependentPreInits)
----------------
alexey-bataev wrote:

Restore

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


More information about the llvm-branch-commits mailing list