[all-commits] [llvm/llvm-project] c7ca41: [OMPIRBuilder] Propagate attributes to outlined ta...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Wed Nov 27 04:26:46 PST 2024


  Branch: refs/heads/users/skatrak/host-eval-04-2-ompirbuilder-attrs
  Home:   https://github.com/llvm/llvm-project
  Commit: c7ca41f39546949a5c6ae28782f9e2f6585c240b
      https://github.com/llvm/llvm-project/commit/c7ca41f39546949a5c6ae28782f9e2f6585c240b
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-11-27 (Wed, 27 Nov 2024)

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

  Log Message:
  -----------
  [OMPIRBuilder] Propagate attributes to outlined target regions

This patch copies the target-cpu and target-features attributes of functions
containing target regions into the corresponding outlined function holding the
target region.

This mirrors what is currently being done for all other outlined functions
through the `CodeExtractor` in `OpenMPIRBuilder::finalize()`.



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