[libc-commits] [PATCH] D153232: [libc] Disable atomic optimizations for `libc` AMDGPU builds
Joseph Huber via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon Jun 19 01:26:07 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5a8fc419379f: [libc] Disable atomic optimizations for `libc` AMDGPU builds (authored by jhuber6).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153232/new/
https://reviews.llvm.org/D153232
Files:
libc/startup/gpu/amdgpu/CMakeLists.txt
Index: libc/startup/gpu/amdgpu/CMakeLists.txt
===================================================================
--- libc/startup/gpu/amdgpu/CMakeLists.txt
+++ libc/startup/gpu/amdgpu/CMakeLists.txt
@@ -26,4 +26,7 @@
"--target=${LIBC_GPU_TARGET_TRIPLE}"
"-flto"
"-Wl,-mllvm,-amdgpu-lower-global-ctor-dtor=0"
+ # FIXME: This pass causes builds to take ~10x longer. Disable until the
+ # performance problems have been addressed.
+ "-Wl,-mllvm,-amdgpu-atomic-optimizations=0"
)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153232.532561.patch
Type: text/x-patch
Size: 490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230619/97ae111d/attachment.bin>
More information about the libc-commits
mailing list