This patch fixes the issue that the for loop in applyToShadowMapEntries
is infinite because Itr is not incremented in CB. Fixes #53727.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D119471  
[OpenMP][Offloading] Fix infinite loop in applyToShadowMapEntries ClosedPublic Authored by tianshilei1992 on Feb 10 2022, 12:33 PM. 
Details Summary This patch fixes the issue that the for loop in applyToShadowMapEntries 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Feb 11 2022, 7:07 AM Closed by commit rGc27f530d4c63: [OpenMP][Offloading] Fix infinite loop in applyToShadowMapEntries (authored by tianshilei1992).  ·  Explain WhyFeb 12 2022, 7:03 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 408229 openmp/libomptarget/src/omptarget.cpp
 openmp/libomptarget/test/offloading/bug53727.cpp
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||