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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Wed Dec 4 06:19:19 PST 2024


  Branch: refs/heads/users/skatrak/host-eval-04-2-ompirbuilder-attrs
  Home:   https://github.com/llvm/llvm-project
  Commit: 7de5d58b25bc416512b635f68d5d0a265034dae3
      https://github.com/llvm/llvm-project/commit/7de5d58b25bc416512b635f68d5d0a265034dae3
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-12-04 (Wed, 04 Dec 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