[all-commits] [llvm/llvm-project] 9d79b8: Fix host-evaluated loop-bound contexts

Chi-Chun, Chen via All-commits all-commits at lists.llvm.org
Wed Sep 30 23:55:32 PDT 2026


  Branch: refs/heads/users/cchen/openmp-variant-matching-scoring
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d79b831797041c11579256731e033e2a0e229d5
      https://github.com/llvm/llvm-project/commit/9d79b831797041c11579256731e033e2a0e229d5
  Author: Chi-Chun, Chen <chichun.chen at hpe.com>
  Date:   2026-10-01 (Thu, 01 Oct 2026)

  Changed paths:
    M flang/lib/Lower/OpenMP/Utils.cpp
    M flang/test/Lower/OpenMP/declare-variant-loop-bounds.f90

  Log Message:
  -----------
  Fix host-evaluated loop-bound contexts

Host-evaluated bounds can select a different variant from lastprivate
copy-back, leaving the lastprivate value unchanged.

This fix build the loop-bound context from source constituents before
the first loop-associated construct, even when their frames have not
been entered.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list