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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Wed Feb 19 07:38:33 PST 2025


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