[all-commits] [llvm/llvm-project] 226454: [clang][CodeGen] Remove unnecessary ShouldLinkFile...

Jacob Lambert via All-commits all-commits at lists.llvm.org
Fri Jun 28 14:35:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2264544e2d13957f36fd19864d9633a3278a9d74
      https://github.com/llvm/llvm-project/commit/2264544e2d13957f36fd19864d9633a3278a9d74
  Author: Jacob Lambert <jacob.lambert at amd.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/BackendConsumer.h
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/CodeGen/CodeGenAction.cpp
    M clang/lib/CodeGen/LinkInModulesPass.cpp
    M clang/lib/CodeGen/LinkInModulesPass.h

  Log Message:
  -----------
  [clang][CodeGen] Remove unnecessary ShouldLinkFiles conditional (#96951)

We have reworked the bitcode linking option to no longer link twice if
post-optimization linking is requested. As such, we no longer need to
conditionally link bitcodes supplied via -mlink-bitcode-file, as there
is no danger of linking them twice



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