[PATCH] D145514: [OPENMP]Fix PR59947: "Partially-triangular" loop collapse crashes.

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 7 08:45:58 PST 2023


ABataev created this revision.
ABataev added reviewers: jdoerfert, Meinersbur, mikerice.
Herald added subscribers: guansong, yaxunl.
Herald added a project: All.
ABataev requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1.
Herald added projects: clang, OpenMP.

The indeces of the dependent loops are properly ordered, just start from
1, so need just subtract 1 to get correct loop index.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145514

Files:
  clang/lib/Sema/SemaOpenMP.cpp
  clang/test/OpenMP/for_non_rectangular_codegen.c
  openmp/runtime/test/worksharing/for/omp_for_non_rectangular.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145514.503069.patch
Type: text/x-patch
Size: 17584 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230307/93f65a0f/attachment-0001.bin>


More information about the cfe-commits mailing list