[all-commits] [llvm/llvm-project] fce560: [OpenMPIRBuilder] Pass target-cpu and target-featu...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Fri Feb 2 05:31:52 PST 2024


  Branch: refs/heads/users/skatrak/spr/target-attrs-ompirbuilder
  Home:   https://github.com/llvm/llvm-project
  Commit: fce560a3c97c00136e4c1dad31631a148d4eccba
      https://github.com/llvm/llvm-project/commit/fce560a3c97c00136e4c1dad31631a148d4eccba
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-02-02 (Fri, 02 Feb 2024)

  Changed paths:
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M mlir/test/Target/LLVMIR/omptarget-parallel-wsloop.mlir
    M mlir/test/Target/LLVMIR/openmp-llvm.mlir
    M mlir/test/Target/LLVMIR/openmp-teams.mlir

  Log Message:
  -----------
  [OpenMPIRBuilder] Pass target-cpu and target-features to outlined functions

This patch adds support for forwarding the target-cpu and target-features
attributes to functions outlined in the OpenMPIRBuilder. This, in turn, results
in the addition of these attributes for functions created during the
translation of the `omp.parallel`, `omp.task` and `omp.teams` operations, and
for the `omp.wsloop` operation when doing codegen for an OpenMP target device.


  Commit: 5b7fddb8574ea69682891192bf3e0221b6828de4
      https://github.com/llvm/llvm-project/commit/5b7fddb8574ea69682891192bf3e0221b6828de4
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-02-02 (Fri, 02 Feb 2024)

  Changed paths:
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp

  Log Message:
  -----------
  Address review comments


Compare: https://github.com/llvm/llvm-project/compare/e3ff5c116010...5b7fddb8574e


More information about the All-commits mailing list