[all-commits] [llvm/llvm-project] ef9e62: [opt][clang] Enable using -module-summary/-flto=th...

Alexander Shaposhnikov via All-commits all-commits at lists.llvm.org
Mon Nov 14 13:21:55 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef9e624694c0f125c53f7d0d3472fd486bada57d
      https://github.com/llvm/llvm-project/commit/ef9e624694c0f125c53f7d0d3472fd486bada57d
  Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/test/CodeGen/split-lto-unit.c
    M llvm/include/llvm/IR/IRPrintingPasses.h
    M llvm/lib/IR/CMakeLists.txt
    M llvm/lib/IR/IRPrintingPasses.cpp
    M llvm/test/Bitcode/thinlto-function-summary.ll
    M llvm/tools/opt/NewPMDriver.cpp

  Log Message:
  -----------
  [opt][clang] Enable using -module-summary/-flto=thin with -S/-emit-llvm

Enable using -module-summary with -S
(similarly to what currently can be achieved with opt <input> -o - | llvm-dis).

Test plan: ninja check-all

Differential revision: https://reviews.llvm.org/D137768




More information about the All-commits mailing list