Skip to content

Commit

Permalink
[libc] Remove disabled pass after performance improvement
Browse files Browse the repository at this point in the history
This pass used to cause huge compile time regressions, That has been
address and can now be re-added.

Differential Revision: https://reviews.llvm.org/D153374
  • Loading branch information
jhuber6 committed Jun 20, 2023
1 parent 6be2d59 commit ee6ace2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libc/startup/gpu/amdgpu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,4 @@ target_link_libraries(
"--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"
)

0 comments on commit ee6ace2

Please sign in to comment.