[Openmp-commits] [PATCH] D51937: [OPENMP]Increment iterator when the loop is continued.
Alexey Bataev via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Sep 11 10:19:06 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL341964: [OPENMP]Increment iterator when the loop is continued. (authored by ABataev, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D51937
Files:
openmp/trunk/libomptarget/src/omptarget.cpp
Index: openmp/trunk/libomptarget/src/omptarget.cpp
===================================================================
--- openmp/trunk/libomptarget/src/omptarget.cpp
+++ openmp/trunk/libomptarget/src/omptarget.cpp
@@ -423,8 +423,10 @@
// An STL map is sorted on its keys; use this property
// to quickly determine when to break out of the loop.
- if ((uintptr_t) ShadowHstPtrAddr < lb)
+ if ((uintptr_t) ShadowHstPtrAddr < lb) {
+ ++it;
continue;
+ }
if ((uintptr_t) ShadowHstPtrAddr >= ub)
break;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51937.164919.patch
Type: text/x-patch
Size: 582 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180911/1b062f77/attachment.bin>
More information about the Openmp-commits
mailing list