[all-commits] [llvm/llvm-project] 0cfe5a: [OPENMP]Fix PR59947: "Partially-triangular" loop c...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Mar 8 13:08:53 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0cfe5ae0b62a54cf76bb2f18eb60acb5e22fcc2d
      https://github.com/llvm/llvm-project/commit/0cfe5ae0b62a54cf76bb2f18eb60acb5e22fcc2d
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-03-08 (Wed, 08 Mar 2023)

  Changed paths:
    M clang/lib/Sema/SemaOpenMP.cpp
    A clang/test/OpenMP/for_non_rectangular_codegen.c
    A openmp/runtime/test/worksharing/for/omp_for_non_rectangular.c

  Log Message:
  -----------
  [OPENMP]Fix PR59947: "Partially-triangular" loop collapse crashes.

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

Differential Revision: https://reviews.llvm.org/D145514




More information about the All-commits mailing list