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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Mon Feb 24 04:57:53 PST 2025


  Branch: refs/heads/users/skatrak/target-spmd-08-flang-distribute
  Home:   https://github.com/llvm/llvm-project
  Commit: bd0589979a0db8bb6c5b7da57ac2054ce690a1f9
      https://github.com/llvm/llvm-project/commit/bd0589979a0db8bb6c5b7da57ac2054ce690a1f9
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2025-02-24 (Mon, 24 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