This is an archive of the discontinued LLVM Phabricator instance.

[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
is infinite because Itr is not incremented in CB. Fixes #53727.

Diff Detail

Event Timeline

tianshilei1992 requested review of this revision.Feb 10 2022, 12:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 10 2022, 12:33 PM
jdoerfert accepted this revision.Feb 11 2022, 7:07 AM

LG, I broke this. Can we also have tests?

This revision is now accepted and ready to land.Feb 11 2022, 7:07 AM

rebase and add test