Skip to content

Commit 5736595

Browse files
committed
[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.
1 parent 9f42ba3 commit 5736595

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

flang/include/flang/Runtime/freestanding-tools.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@
6363
#define STD_TOUPPER_UNSUPPORTED 1
6464
#endif
6565

66-
#if defined(OMP_OFFLOAD_BUILD) && defined(OMP_NOHOST_BUILD) && \
67-
defined(__clang__)
66+
#if defined(OMP_OFFLOAD_BUILD) && defined(__clang__)
6867
#define STD_FILL_N_UNSUPPORTED 1
6968
#define STD_MEMSET_USE_BUILTIN 1
7069
#define STD_MEMSET_UNSUPPORTED 1

0 commit comments

Comments
 (0)