[libc-commits] [PATCH] D154704: [libc] Enable aliasing on AMDGPU targets
Joseph Huber via Phabricator via libc-commits
libc-commits at lists.llvm.org
Fri Jul 7 09:49:37 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc012eb79e233: [libc] Enable aliasing on AMDGPU targets (authored by jhuber6).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154704/new/
https://reviews.llvm.org/D154704
Files:
libc/src/__support/common.h
Index: libc/src/__support/common.h
===================================================================
--- libc/src/__support/common.h
+++ libc/src/__support/common.h
@@ -16,8 +16,8 @@
#define LLVM_LIBC_FUNCTION_ATTR
#endif
-// GPU targets do not support aliasing.
-#if defined(LIBC_COPT_PUBLIC_PACKAGING) && defined(LIBC_TARGET_ARCH_IS_GPU)
+// The NVPTX target does not support aliasing.
+#if defined(LIBC_COPT_PUBLIC_PACKAGING) && defined(LIBC_TARGET_ARCH_IS_NVPTX)
#define LLVM_LIBC_FUNCTION_IMPL(type, name, arglist) \
LLVM_LIBC_FUNCTION_ATTR decltype(__llvm_libc::name) \
__##name##_impl__ __asm__(#name); \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154704.538178.patch
Type: text/x-patch
Size: 719 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230707/2f03e6e3/attachment-0001.bin>
More information about the libc-commits
mailing list