summaryrefslogtreecommitdiff
path: root/offload/test
diff options
context:
space:
mode:
authorEthan Luis McDonough <ethanluismcdonough@gmail.com>2025-11-10 10:11:53 -0600
committerGitHub <noreply@github.com>2025-11-10 10:11:53 -0600
commit38cade7cc6e599bb6bc8f0af98eb91cba9ceb5df (patch)
treeb9694c6fb3ffda50a805a052b77a39c12d21680b /offload/test
parentb9e22ccd95094ebf87e916d4e5bf8992204e927e (diff)
[PGO][Offload] Fix missing names bug in GPU PGO (#166444)
After #163011 was merged, the tests in [`offload/test/offloading/gpupgo`](https://github.com/llvm/llvm-project/compare/main...EthanLuisMcDonough:llvm-project:gpupgo-names-fix-pr?expand=1#diff-f769f6cebd25fa527bd1c1150cc64eb585c41cb8a8b325c2bc80c690e47506a1) broke because the offload plugins were no longer able to find `__llvm_prf_nm`. This pull request explicitly makes `__llvm_prf_nm` visible to the host on GPU targets and reverses the changes made in f7e9968a5ba99521e6e51161f789f0cc1745193f.
Diffstat (limited to 'offload/test')
-rw-r--r--offload/test/offloading/gpupgo/pgo_atomic_teams.c1
-rw-r--r--offload/test/offloading/gpupgo/pgo_atomic_threads.c1
-rw-r--r--offload/test/offloading/gpupgo/pgo_device_and_host.c1
-rw-r--r--offload/test/offloading/gpupgo/pgo_device_only.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/offload/test/offloading/gpupgo/pgo_atomic_teams.c b/offload/test/offloading/gpupgo/pgo_atomic_teams.c
index 42d8ae43beba..b3b72db08039 100644
--- a/offload/test/offloading/gpupgo/pgo_atomic_teams.c
+++ b/offload/test/offloading/gpupgo/pgo_atomic_teams.c
@@ -18,7 +18,6 @@
// REQUIRES: amdgpu
// REQUIRES: pgo
-// XFAIL: amdgpu
int test1(int a) { return a / 2; }
int test2(int a) { return a * 2; }
diff --git a/offload/test/offloading/gpupgo/pgo_atomic_threads.c b/offload/test/offloading/gpupgo/pgo_atomic_threads.c
index 09a4dc157782..440a6b533317 100644
--- a/offload/test/offloading/gpupgo/pgo_atomic_threads.c
+++ b/offload/test/offloading/gpupgo/pgo_atomic_threads.c
@@ -18,7 +18,6 @@
// REQUIRES: amdgpu
// REQUIRES: pgo
-// XFAIL: amdgpu
int test1(int a) { return a / 2; }
diff --git a/offload/test/offloading/gpupgo/pgo_device_and_host.c b/offload/test/offloading/gpupgo/pgo_device_and_host.c
index c53e69a25e50..3e95791ce9a5 100644
--- a/offload/test/offloading/gpupgo/pgo_device_and_host.c
+++ b/offload/test/offloading/gpupgo/pgo_device_and_host.c
@@ -50,7 +50,6 @@
// REQUIRES: amdgpu
// REQUIRES: pgo
-// XFAIL: amdgpu
int main() {
int host_var = 0;
diff --git a/offload/test/offloading/gpupgo/pgo_device_only.c b/offload/test/offloading/gpupgo/pgo_device_only.c
index 644df6e7b033..2939af613b6d 100644
--- a/offload/test/offloading/gpupgo/pgo_device_only.c
+++ b/offload/test/offloading/gpupgo/pgo_device_only.c
@@ -16,7 +16,6 @@
// REQUIRES: amdgpu
// REQUIRES: pgo
-// XFAIL: amdgpu
int test1(int a) { return a / 2; }
int test2(int a) { return a * 2; }