[all-commits] [llvm/llvm-project] 35078f: [OpenMPIRBuilder] Split calculation of canonical l...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Tue Feb 25 02:32:51 PST 2025


  Branch: refs/heads/users/skatrak/target-spmd-06-canonical-refactor
  Home:   https://github.com/llvm/llvm-project
  Commit: 35078fdf5955d3f5116f4adfb0fdc3e5e02a0416
      https://github.com/llvm/llvm-project/commit/35078fdf5955d3f5116f4adfb0fdc3e5e02a0416
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2025-02-25 (Tue, 25 Feb 2025)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  Log Message:
  -----------
  [OpenMPIRBuilder] Split calculation of canonical loop trip count, NFC

This patch splits off the calculation of canonical loop trip counts from the
creation of canonical loops. This makes it possible to reuse this logic to, for
instance, populate the `__tgt_target_kernel` runtime call for SPMD kernels.

This feature is used to simplify one of the existing OpenMPIRBuilder tests.



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