[libc-commits] [PATCH] D154704: [libc] Enable aliasing on AMDGPU targets
Artem Belevich via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon Jul 10 10:10:50 PDT 2023
tra added inline comments.
================
Comment at: libc/src/__support/common.h:19
-// 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)
----------------
PTX did add support for aliases a while back, but we indeed don't use it at the moment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154704/new/
https://reviews.llvm.org/D154704
More information about the libc-commits
mailing list