[all-commits] [llvm/llvm-project] c27f53: [OpenMP][Offloading] Fix infinite loop in applyToS...

Shilei Tian via All-commits all-commits at lists.llvm.org
Sat Feb 12 19:03:05 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c27f530d4c6306b2010306131f66e771d6a66594
      https://github.com/llvm/llvm-project/commit/c27f530d4c6306b2010306131f66e771d6a66594
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2022-02-12 (Sat, 12 Feb 2022)

  Changed paths:
    M openmp/libomptarget/src/omptarget.cpp
    A openmp/libomptarget/test/offloading/bug53727.cpp

  Log Message:
  -----------
  [OpenMP][Offloading] Fix infinite loop in applyToShadowMapEntries

This patch fixes the issue that the for loop in `applyToShadowMapEntries`
is infinite because `Itr` is not incremented in `CB`. Fixes #53727.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D119471




More information about the All-commits mailing list