[flang-commits] [flang] 5736595 - [Flang][Runtime][OpenMP][AMDGPU] Revert part of #152631 causing regression for amdgpu
via flang-commits
flang-commits at lists.llvm.org
Mon Sep 1 18:51:57 PDT 2025
Author: agozillon
Date: 2025-09-01T20:49:56-05:00
New Revision: 57365952ef3a0b5cd79b5af095c46579b409f7a2
URL: https://github.com/llvm/llvm-project/commit/57365952ef3a0b5cd79b5af095c46579b409f7a2
DIFF: https://github.com/llvm/llvm-project/commit/57365952ef3a0b5cd79b5af095c46579b409f7a2.diff
LOG: [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.
Added:
Modified:
flang/include/flang/Runtime/freestanding-tools.h
Removed:
################################################################################
diff --git a/flang/include/flang/Runtime/freestanding-tools.h b/flang/include/flang/Runtime/freestanding-tools.h
index bb51c3801a7d7..6753b7a24ebe1 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
More information about the flang-commits
mailing list