[all-commits] [llvm/llvm-project] 0f1733: [OMPIRBuilder] Propagate attributes to outlined ta...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Tue Jan 14 04:35:51 PST 2025
Branch: refs/heads/users/skatrak/host-eval-04-2-ompirbuilder-attrs
Home: https://github.com/llvm/llvm-project
Commit: 0f17338720e09d763d426551175c43fce38c6164
https://github.com/llvm/llvm-project/commit/0f17338720e09d763d426551175c43fce38c6164
Author: Sergio Afonso <safonsof at amd.com>
Date: 2025-01-14 (Tue, 14 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