[all-commits] [llvm/llvm-project] 6b3956: [llvm-reduce] Add support for LTO bitcode files

Matthew Voss via All-commits all-commits at lists.llvm.org
Thu Jun 30 08:58:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b3956e123db1a53e38f5506aa164be4d644a477
      https://github.com/llvm/llvm-project/commit/6b3956e123db1a53e38f5506aa164be4d644a477
  Author: Matthew Voss <matthew.voss at sony.com>
  Date:   2022-06-30 (Thu, 30 Jun 2022)

  Changed paths:
    M llvm/test/tools/llvm-reduce/Inputs/llvm-dis-and-filecheck.py
    M llvm/test/tools/llvm-reduce/fail-file-open.test
    A llvm/test/tools/llvm-reduce/invalid-bitcode-error.ll
    A llvm/test/tools/llvm-reduce/temporary-files-as-bitcode-split.ll
    M llvm/tools/llvm-reduce/CMakeLists.txt
    M llvm/tools/llvm-reduce/ReducerWorkItem.cpp
    M llvm/tools/llvm-reduce/ReducerWorkItem.h
    M llvm/tools/llvm-reduce/TestRunner.cpp
    M llvm/tools/llvm-reduce/TestRunner.h
    M llvm/tools/llvm-reduce/deltas/Delta.cpp
    M llvm/tools/llvm-reduce/llvm-reduce.cpp

  Log Message:
  -----------
  [llvm-reduce] Add support for LTO bitcode files

Adds support for reading and writing LTO bitcode files.

  - Emit a summary if the original bitcode file had a summary
  - Use split LTO units if the original bitcode file used them.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D127168




More information about the All-commits mailing list