================ @@ -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 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits