[all-commits] [llvm/llvm-project] 25e308: [Flang][OpenMP] Allow host evaluation of loop boun...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Fri Feb 21 02:22:20 PST 2025


  Branch: refs/heads/users/skatrak/target-spmd-08-flang-distribute
  Home:   https://github.com/llvm/llvm-project
  Commit: 25e308a580946e40e4d74aae7f04d570723bb267
      https://github.com/llvm/llvm-project/commit/25e308a580946e40e4d74aae7f04d570723bb267
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2025-02-21 (Fri, 21 Feb 2025)

  Changed paths:
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/test/Lower/OpenMP/host-eval.f90

  Log Message:
  -----------
  [Flang][OpenMP] Allow host evaluation of loop bounds for distribute

This patch adds `target teams distribute [simd]` and equivalent construct nests
to the list of cases where loop bounds can be evaluated in the host, as they
represent Generic-SPMD kernels for which the trip count must also be evaluated
in advance to the kernel call.



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