From 77bf0df376d7fcd305d9576511e7d0806b96971a Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Mon, 14 Nov 2022 15:51:03 -0800 Subject: 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 --- llvm/test/Bitcode/thinlto-function-summary.ll | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/test/Bitcode/thinlto-function-summary.ll') diff --git a/llvm/test/Bitcode/thinlto-function-summary.ll b/llvm/test/Bitcode/thinlto-function-summary.ll index 68636ed192a1..ad745dd826ac 100644 --- a/llvm/test/Bitcode/thinlto-function-summary.ll +++ b/llvm/test/Bitcode/thinlto-function-summary.ll @@ -31,8 +31,6 @@ ; RUN: opt -passes=name-anon-globals -module-summary < %s | llvm-dis | FileCheck %s -; RUN: opt -passes=name-anon-globals -module-summary -S < %s | FileCheck %s -; RUN: opt -passes=name-anon-globals -module-summary -S < %s | llvm-as | llvm-dis | FileCheck %s ; Check that this round-trips correctly. ; ModuleID = '' -- cgit v1.2.3