[all-commits] [llvm/llvm-project] 77bf0d: Revert "[opt][clang] Enable using -module-summary/...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Nov 14 15:51:17 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77bf0df376d7fcd305d9576511e7d0806b96971a
      https://github.com/llvm/llvm-project/commit/77bf0df376d7fcd305d9576511e7d0806b96971a
  Author: Fangrui Song <i at maskray.me>
  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/Analysis/ModuleSummaryAnalysis.cpp
    M llvm/lib/IR/IRPrintingPasses.cpp
    M llvm/test/Bitcode/thinlto-function-summary.ll
    M llvm/tools/opt/NewPMDriver.cpp

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

This reverts commit bf8381a8bce28fc69857645cc7e84a72317e693e.

There is a layering violation: LLVMAnalysis depends on LLVMCore, so
LLVMCore should not include LLVMAnalysis header
llvm/Analysis/ModuleSummaryAnalysis.h




More information about the All-commits mailing list