diff options
author | agozillon <Andrew.Gozillon@amd.com> | 2025-09-01 20:44:39 -0500 |
---|---|---|
committer | agozillon <Andrew.Gozillon@amd.com> | 2025-09-01 20:49:56 -0500 |
commit | 57365952ef3a0b5cd79b5af095c46579b409f7a2 (patch) | |
tree | 8b51a0f7775968914be27f0170ae94016653fbd1 | |
parent | 9f42ba358806eaaa8c133fb116d8cc9612cd29fa (diff) | |
download | llvm-57365952ef3a0b5cd79b5af095c46579b409f7a2.zip llvm-57365952ef3a0b5cd79b5af095c46579b409f7a2.tar.gz llvm-57365952ef3a0b5cd79b5af095c46579b409f7a2.tar.bz2 |
[Flang][Runtime][OpenMP][AMDGPU] Revert part of #152631 causing regression for amdgpu
When modifying the PR during review I made a minor alteration that I thought made sense,
but after further testing doesn't seem to. So, in this commit I regress the offending bit
of code.
-rw-r--r-- | flang/include/flang/Runtime/freestanding-tools.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/flang/include/flang/Runtime/freestanding-tools.h b/flang/include/flang/Runtime/freestanding-tools.h index bb51c38..6753b7a 100644 --- a/flang/include/flang/Runtime/freestanding-tools.h +++ b/flang/include/flang/Runtime/freestanding-tools.h @@ -63,8 +63,7 @@ #define STD_TOUPPER_UNSUPPORTED 1 #endif -#if defined(OMP_OFFLOAD_BUILD) && defined(OMP_NOHOST_BUILD) && \ - defined(__clang__) +#if defined(OMP_OFFLOAD_BUILD) && defined(__clang__) #define STD_FILL_N_UNSUPPORTED 1 #define STD_MEMSET_USE_BUILTIN 1 #define STD_MEMSET_UNSUPPORTED 1 |