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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Thu Jan 9 04:27:56 PST 2025


  Branch: refs/heads/users/skatrak/host-eval-04-2-ompirbuilder-attrs
  Home:   https://github.com/llvm/llvm-project
  Commit: ab3e0d25b58e3beaf218af27f85cd439ff8bb20e
      https://github.com/llvm/llvm-project/commit/ab3e0d25b58e3beaf218af27f85cd439ff8bb20e
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2025-01-09 (Thu, 09 Jan 2025)

  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