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

Paul Kirth via All-commits all-commits at lists.llvm.org
Fri Jun 27 10:13:44 PDT 2025


  Branch: refs/heads/users/ilovepi/embed-bitcode-preserve-analysis
  Home:   https://github.com/llvm/llvm-project
  Commit: 1eeb1633e31c72f5f2d8e102d81411d8f5f3de98
      https://github.com/llvm/llvm-project/commit/1eeb1633e31c72f5f2d8e102d81411d8f5f3de98
  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

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