[all-commits] [llvm/llvm-project] 6641f8: [libc] Fix amdgpu startup code flags

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Feb 22 09:38:46 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6641f8da73aee7afebeaab572871dcb737d9f340
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-02-22 (Wed, 22 Feb 2023)

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

  Log Message:
  [libc] Fix amdgpu startup code flags

Currently AMDGPU only barely supports cross-TU ELF linking. Full linking
is usually done via LTO. This requires passing the architecture to the
link job. This is done automatically via `-flto` since D144505. Add this
to the link options.

More information about the All-commits mailing list