[all-commits] [llvm/llvm-project] 2dc60b: [libc] Use LTO for AMDGPU compilation and linking

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Mar 29 12:21:03 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2dc60b4ea4f1a3f321ea93055038d711f0af4c49
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-03-29 (Wed, 29 Mar 2023)

  Changed paths:
    M libc/cmake/modules/LLVMLibCObjectRules.cmake
    M libc/cmake/modules/LLVMLibCTestRules.cmake

  Log Message:
  [libc] Use LTO for AMDGPU compilation and linking

The AMDGPU ABI isn't stable or well defined. For that reson we prefer to
rely on LTO to ensure that multiple files get linked correctly.
Currently the internal targets used for testing mix LLVM-IR and
assembly. We should be consistent here.

More information about the All-commits mailing list