[all-commits] [llvm/llvm-project] 90e421: [Offload] Always consider `flto` on for AMDGPU (#1...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Mar 7 04:54:31 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90e421516ee29ed475a052d0f5e96c2447e700d7
      https://github.com/llvm/llvm-project/commit/90e421516ee29ed475a052d0f5e96c2447e700d7
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M clang/test/Driver/linker-wrapper.c
    M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp

  Log Message:
  -----------
  [Offload] Always consider `flto` on for AMDGPU (#129118)

Summary:
Previously we turned this off, but that led to a regression in some of
the option handling. I would argue that handling LTO by default was
incorrect bheavior, but for AMDGPU people were used to this default, so
we pass it by default. `-fno-lto` overrides.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list