[Openmp-commits] [PATCH] D144015: [OpenMP]Fix PR55970: Miscompile of collapse(3) with non-rectangular loop nest.

Alexey Bataev via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Feb 14 08:01:23 PST 2023


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

Need to assign the calculated lower bound back to temp variable,
otherwise incorrect value (upper bound instead of lower bound) might be
used.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144015

Files:
  clang/lib/Sema/SemaOpenMP.cpp
  clang/test/OpenMP/for_codegen.cpp
  clang/test/OpenMP/tile_codegen.cpp
  openmp/runtime/test/worksharing/for/omp_for_collapse_non_rectangular.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144015.497335.patch
Type: text/x-patch
Size: 21683 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230214/c8a2e312/attachment-0001.bin>


More information about the Openmp-commits mailing list