[all-commits] [llvm/llvm-project] c5ac63: ThinLTO: Add flag to print uselistorder in bitcode...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Apr 14 11:34:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5ac63e4fcd58c951f10c3902d8a6692e0a43c55
      https://github.com/llvm/llvm-project/commit/c5ac63e4fcd58c951f10c3902d8a6692e0a43c55
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-04-14 (Mon, 14 Apr 2025)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/ThinLTOBitcodeWriter.h
    M llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
    A llvm/test/Bitcode/thinlto-preserve-uselistorder.ll
    M llvm/test/Transforms/ThinLTOBitcodeWriter/split.ll
    M llvm/test/Transforms/ThinLTOBitcodeWriter/unsplittable.ll
    M llvm/tools/opt/NewPMDriver.cpp

  Log Message:
  -----------
  ThinLTO: Add flag to print uselistorder in bitcode writer pass (#133230)

This is needed in llvm-reduce to avoid perturbing the uselistorder in
intermediate steps. Really llvm-reduce wants pure serialization with
no dependency on the pass manager. There are other optimizations mixed
in to the serialization here depending on metadata in the module, which
is also bad.
    
Part of #63621



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