[all-commits] [llvm/llvm-project] 5a8fc4: [libc] Disable atomic optimizations for `libc` AMD...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Jun 19 01:26:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a8fc419379faa517e614c55b0b27de59572019d
      https://github.com/llvm/llvm-project/commit/5a8fc419379faa517e614c55b0b27de59572019d
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-06-19 (Mon, 19 Jun 2023)

  Changed paths:
    M libc/startup/gpu/amdgpu/CMakeLists.txt

  Log Message:
  -----------
  [libc] Disable atomic optimizations for `libc` AMDGPU builds

Recently the AMDGPU backend automatically enables a pass to optimize
atomics. This results in the LTO build taking about 10x longer in all
cases. For now we disable this by default as was the case before the
patch in D152649.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D153232




More information about the All-commits mailing list