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

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


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