[all-commits] [llvm/llvm-project] 23daa3: [llvm] Don't preserve analysis results after Embed...

Paul Kirth via All-commits all-commits at lists.llvm.org
Fri Jun 27 12:49:42 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23daa31341a68d404df04d9fedf7fdaaa80157f4
      https://github.com/llvm/llvm-project/commit/23daa31341a68d404df04d9fedf7fdaaa80157f4
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-06-27 (Fri, 27 Jun 2025)

  Changed paths:
    M llvm/lib/Transforms/IPO/EmbedBitcodePass.cpp

  Log Message:
  -----------
  [llvm] Don't preserve analysis results after EmbedBitcodePass (#146118)

Expensive checks complains when we mark them as preserved. The bitcode
being embedded generally doesn't change anything important in the
module, but some things are modified under ThinLTO, like vtables under
WPD. This became a non-issue when we cloned the module, but after we had
to revert that in #145987, we need to handle this case properly.



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