Need to assign the calculated lower bound back to temp variable,
otherwise incorrect value (upper bound instead of lower bound) might be
used.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D144015
[OpenMP]Fix PR55970: Miscompile of collapse(3) with non-rectangular loop nest. ClosedPublic Authored by ABataev on Feb 14 2023, 8:01 AM.
Details Summary Need to assign the calculated lower bound back to temp variable,
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 14 2023, 9:40 AM This revision was landed with ongoing or failed builds.Feb 14 2023, 10:40 AM Closed by commit rGddde06906be1: [OpenMP]Fix PR55970: Miscompile of collapse(3) with non-rectangular loop nest. (authored by ABataev). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 497388 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
|