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

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


  Branch: refs/heads/users/skatrak/target-spmd-08-flang-distribute
  Home:   https://github.com/llvm/llvm-project
  Commit: de75db239e6725be6509c06057a338842339bc0a
      https://github.com/llvm/llvm-project/commit/de75db239e6725be6509c06057a338842339bc0a
  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