[all-commits] [llvm/llvm-project] 26eca2: Move the preserve-{bc, ll}-uselistorder options out...

Mingjie Xu via All-commits all-commits at lists.llvm.org
Fri Oct 10 18:20:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26eca2439c664c648c4e293c68c18c2d6e7d7855
      https://github.com/llvm/llvm-project/commit/26eca2439c664c648c4e293c68c18c2d6e7d7855
  Author: Mingjie Xu <xumingjie.enna1 at bytedance.com>
  Date:   2025-10-11 (Sat, 11 Oct 2025)

  Changed paths:
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/tools/bugpoint/OptimizerDriver.cpp
    M llvm/tools/llvm-as/llvm-as.cpp
    M llvm/tools/llvm-dis/llvm-dis.cpp
    M llvm/tools/llvm-extract/llvm-extract.cpp
    M llvm/tools/llvm-link/llvm-link.cpp
    M llvm/tools/opt/optdriver.cpp

  Log Message:
  -----------
  Move the preserve-{bc,ll}-uselistorder options out of individual tools, make them global defaults for AsmWriter and BitcodeWriter (#160079)

This patch moves the `preserve-bc-uselistorder` and
`preserve-ll-uselistorder` options out of individual tools(opt, llvm-as,
llvm-dis, llvm-link, llvm-extract) and make them global defaults for
AsmWriter and BitcodeWriter.

These options are useful when we use `-print-*` options to dump LLVM IR.



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